GraphAware\Neo4j\Client\Event\PostRunEvent::getResults PHP Method

getResults() public method

public getResults ( ) : GraphAware\Common\Result\ResultCollection
return GraphAware\Common\Result\ResultCollection
    public function getResults()
    {
        return $this->results;
    }

Usage Example

 public function onPostRun(PostRunEvent $event)
 {
     if ($event->getResults()->size() > 0) {
         $this->hookedPostRun = true;
     }
 }