Neos\Flow\ObjectManagement\DependencyInjection\DependencyProxy::_getClassName PHP Méthode

_getClassName() public méthode

Returns the class name of the proxied dependency
public _getClassName ( ) : string
Résultat string Fully qualified class name of the proxied object
    public function _getClassName()
    {
        return $this->className;
    }

Usage Example

 /**
  * @test
  */
 public function getClassNameReturnsTheNameOfTheProxiedDependencyClass()
 {
     $proxy = new DependencyProxy('SomeClass', function () {
     });
     $this->assertSame('SomeClass', $proxy->_getClassName());
 }