src/Command/GenerateMethodCommand.php
protected function getMethodPath($name)
    {
        $methodDir = $this->getContainer()->getParameter('kernel.root_dir').'/Method';

        return $methodDir.'/'.$this->classify($name).'.php';
    }
protected function getMethodPath($name)
    {
        $methodDir = $this->getContainer()->getParameter('kernel.root_dir').'/Method';

        return $methodDir.'/'.$this->classify($name).'.php';
    }
@param string $name

@return string