GraphAware\Neo4j\Client\Tests\Integration\EventListener::onPreRun PHP Method

onPreRun() public method

public onPreRun ( PreRunEvent $event )
$event GraphAware\Neo4j\Client\Event\PreRunEvent
    public function onPreRun(PreRunEvent $event)
    {
        if (count($event->getStatements()) > 0) {
            $this->hookedPreRun = true;
        }
    }