Neos\Flow\ObjectManagement\DependencyInjection\DependencyProxy::_getClassName PHP Method

_getClassName() public method

Returns the class name of the proxied dependency
public _getClassName ( ) : string
return 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());
 }