Neos\Flow\ObjectManagement\Configuration\Configuration::getClassName PHP Method

getClassName() public method

Returns the class name
public getClassName ( ) : string
return string Name of the implementing class of this object
    public function getClassName()
    {
        return $this->className;
    }

Usage Example

 /**
  * Builds code which registers the lifecycle shutdown method, if any.
  *
  * @param Configuration $objectConfiguration
  * @return string
  */
 protected function buildLifecycleShutdownCode(Configuration $objectConfiguration)
 {
     $lifecycleShutdownMethodName = $objectConfiguration->getLifecycleShutdownMethodName();
     if (!$this->reflectionService->hasMethod($objectConfiguration->getClassName(), $lifecycleShutdownMethodName)) {
         return '';
     }
     $className = $objectConfiguration->getClassName();
     $code = "\n" . '        if (get_class($this) === \'' . $className . '\') {' . "\n";
     $code .= '        \\Neos\\Flow\\Core\\Bootstrap::$staticObjectManager->registerShutdownObject($this, \'' . $lifecycleShutdownMethodName . '\');' . PHP_EOL;
     $code .= '        }' . "\n";
     return $code;
 }
All Usage Examples Of Neos\Flow\ObjectManagement\Configuration\Configuration::getClassName