public function __construct($idType = 'integer', $paths = null) { $this->_idType = $idType; if (!$paths) { $paths = []; } parent::__construct((array) $paths); }
public function testGetAllClassNames() { $driver = new StaticPHPDriver(array(__DIR__)); $classNames = $driver->getAllClassNames(); $this->assertContains('Doctrine\\Tests\\Common\\Persistence\\Mapping\\TestEntity', $classNames); }
/** * {@inheritdoc} */ public function isTransient($className) { return parent::isTransient($className) || false !== stripos($className, 'Base'); }