Jackalope\Observation\Event::__construct PHP Method

__construct() public method

public __construct ( Jackalope\FactoryInterface $factory, PHPCR\NodeType\NodeTypeManagerInterface $ntm )
$factory Jackalope\FactoryInterface ignored but need by the factory
$ntm PHPCR\NodeType\NodeTypeManagerInterface to have primary and mixin types
    public function __construct(FactoryInterface $factory, NodeTypeManagerInterface $ntm)
    {
        $this->ntm = $ntm;
    }