Created
April 17, 2018 08:19
-
-
Save arnaud-lb/067f7c2bfeed23f479d7de0999a83cb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace ${1:`substitute(substitute(expand("%:h"), '\v^\w+\/(\u)', '\1', ''), '\/', '\\\', 'g')`}; | |
class ${2:`Filename('', 'myClass')`} | |
{ | |
${3} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace ${1:`substitute(substitute(expand("%:h"), '\v^\w+\/(\u)', '\1', ''), '\/', '\\\', 'g')`}; | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
class ${2:`Filename('', 'myClass')`} extends ContainerAwareCommand | |
{ | |
public function configure() | |
{ | |
$this->setName(''); | |
} | |
public function execute(InputInterface $input, OutputInterface $output) | |
{ | |
$container = $this->getContainer(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace ${1:`substitute(substitute(expand("%:h"), '\v^\w+\/(\u)', '\1', ''), '\/', '\\\', 'g')`}; | |
use Mention\CoreBundle\Tests\TestCase; | |
class ${2:`Filename('', 'myClass')`} extends TestCase | |
{ | |
public function _setUp() | |
{ | |
parent::_setUp(); | |
} | |
public function test${3}() | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment