これが私のスニペットです:
# Get repository of a table:
snippet repo
$$2 = $this->getRepository('${1:Bundle}:${2:TableName}')
${3}
私がそれを使うとき、これがそれが生成するかもしれないものです:
$Person = $this->getRepository('MyBundle:Person')
$Address = $this->getRepository('MyBundle:Address')
最初のものを小文字にし、常に小文字にして、次のようにします。
$person = $this->getRepository('MyBundle:Person')
$address = $this->getRepository('MyBundle:Address')
...
。snipmateでこれを行う方法はありますか?