__construct() public method

This is only to be called by the Factory::get() method even inside the Jackalope implementation to allow for custom implementations of Nodes.
See also: TransportInterface::getNode()
public __construct ( jackalope\FactoryInterface $factory, array $rawData, string $path, jackalope\Session $session, ObjectManager $objectManager, boolean $new = false )
$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 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.
Beispiel #1
0
 public function __construct($factory, $rawData, $path, $session, $objectManager, $new = false)
 {
     $this->objectmanager = $objectManager;
     parent::__construct($factory, $rawData, $path, $session, $objectManager, $new);
 }