Jackalope\NodeType\NodeProcessor::__construct PHP Method

__construct() public method

public __construct ( string $userId, array $namespaces = [], boolean $autoLastModified = true )
$userId string ID of the connected user
$namespaces array List of namespaces in the current session. Keys are prefix, values are URI.
$autoLastModified boolean Whether the last modified property should be updated automatically
    public function __construct($userId, $namespaces = array(), $autoLastModified = true)
    {
        $this->userId = (string) $userId;
        $this->autoLastModified = $autoLastModified;
        $this->namespaces = $namespaces;
    }