Here's my snippet:
# Get repository of a table:
snippet repo
$$2 = $this->getRepository('${1:Bundle}:${2:TableName}')
${3}
When I use it, here's what it may generate:
$Person = $this->getRepository('MyBundle:Person')
$Address = $this->getRepository('MyBundle:Address')
I would like the first one to be lowercase, always lowercase, and give me something like:
$person = $this->getRepository('MyBundle:Person')
$address = $this->getRepository('MyBundle:Address')
...
. Is there a way to do this with the snipmate?