DI\Definition\Helper\ObjectDefinitionHelper::__construct PHP Method

__construct() public method

Helper for defining an object.
public __construct ( string | null $className = null )
$className string | null Class name of the object. If null, the name of the entry (in the container) will be used as class name.
    public function __construct($className = null)
    {
        $this->className = $className;
    }