Nelmio\Alice\FixtureInterface::getClassName PHP Method

getClassName() public method

public getClassName ( ) : string
return string FQCN. May contain flags depending of the implementation.
    public function getClassName() : string;

Usage Example

Esempio n. 1
0
 /**
  * @inheritdoc
  */
 protected function createInstance(FixtureInterface $fixture)
 {
     try {
         return (new \ReflectionClass($fixture->getClassName()))->newInstanceWithoutConstructor();
     } catch (\ReflectionException $exception) {
         throw InstantiationExceptionFactory::create($fixture, 0, $exception);
     }
 }
All Usage Examples Of Nelmio\Alice\FixtureInterface::getClassName