Jackalope\Observation\EventJournal::__construct PHP Метод

__construct() публичный Метод

Actual data loading is deferred to when it is first requested.
public __construct ( Jackalope\FactoryInterface $factory, EventFilter $filter, PHPCR\SessionInterface $session, Jackalope\Transport\ObservationInterface $transport )
$factory Jackalope\FactoryInterface
$filter EventFilter filter to give the transport and apply locally.
$session PHPCR\SessionInterface
$transport Jackalope\Transport\ObservationInterface a transport implementing the observation methods.
    public function __construct(FactoryInterface $factory, EventFilter $filter, SessionInterface $session, ObservationInterface $transport)
    {
        $this->factory = $factory;
        $this->filter = $filter;
        $this->session = $session;
        $this->transport = $transport;
        $this->skipTo(0);
    }