public __construct ( jackalope\FactoryInterface $factory, array $rawData, string $path, jackalope\Session $session, |
||
$factory | jackalope\FactoryInterface | the object factory |
$rawData | array | in the format as returned from TransportInterface::getNode |
$path | string | the absolute path of this node |
$session | jackalope\Session | |
$objectManager | ||
$new | boolean | set to true if this is a new node being created. Defaults to false which means the node is loaded from storage. |
public function __construct(FactoryInterface $factory, $rawData, $path, Session $session, ObjectManager $objectManager, $new = false)
{
parent::__construct($factory, $path, $session, $objectManager, $new);
$this->isNode = true;
$this->parseData($rawData, false);
}
public function __construct($factory, $rawData, $path, $session, $objectManager, $new = false) { $this->objectmanager = $objectManager; parent::__construct($factory, $rawData, $path, $session, $objectManager, $new); }