for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace RDV\Bundle\MigrationBundle\Tests\Unit\Migration\Fixtures\Extension;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use RDV\Bundle\MigrationBundle\Migration\Extension\DatabasePlatformAwareInterface;
use RDV\Bundle\MigrationBundle\Migration\Extension\NameGeneratorAwareInterface;
use RDV\Bundle\MigrationBundle\Tools\DbIdentifierNameGenerator;
class TestExtension implements DatabasePlatformAwareInterface, NameGeneratorAwareInterface
{
protected $platform;
protected $nameGenerator;
public function setDatabasePlatform(AbstractPlatform $platform)
$this->platform = $platform;
}
public function getDatabasePlatform()
return $this->platform;
public function setNameGenerator(DbIdentifierNameGenerator $nameGenerator)
$this->nameGenerator = $nameGenerator;
public function getNameGenerator()
return $this->nameGenerator;