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

__construct() public method

The constructor
public __construct ( string $objectName, string $className = null )
$objectName string The unique identifier of the object
$className string Name of the class which provides the functionality of this object
    public function __construct($objectName, $className = null)
    {
        $backtrace = debug_backtrace();
        if (isset($backtrace[1]['object'])) {
            $this->configurationSourceHint = get_class($backtrace[1]['object']);
        } elseif (isset($backtrace[1]['class'])) {
            $this->configurationSourceHint = $backtrace[1]['class'];
        }
        $this->objectName = $objectName;
        $this->className = $className === null ? $objectName : $className;
    }