Nelmio\Alice\FixtureInterface::getClassName PHP 메소드

getClassName() 공개 메소드

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

Usage Example

예제 #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