PhpSpec\Wrapper\Subject\WrappedObject::getClassName PHP Метод

getClassName() публичный Метод

public getClassName ( ) : string
Результат string
    public function getClassName()
    {
        return $this->classname;
    }

Usage Example

Пример #1
0
 /**
  * @return mixed
  */
 public function duringInstantiation()
 {
     if ($factoryMethod = $this->wrappedObject->getFactoryMethod()) {
         $method = is_array($factoryMethod) ? $factoryMethod[1] : $factoryMethod;
     } else {
         $method = '__construct';
     }
     $instantiator = new Instantiator();
     $object = $instantiator->instantiate($this->wrappedObject->getClassName());
     return $this->runDuring($object, $method, $this->wrappedObject->getArguments());
 }
All Usage Examples Of PhpSpec\Wrapper\Subject\WrappedObject::getClassName