GraphAware\Neo4j\Client\Event\PreRunEvent::getStatements PHP Method

getStatements() public method

public getStatements ( ) : GraphAware\Common\Cypher\StatementInterface[]
return GraphAware\Common\Cypher\StatementInterface[]
    public function getStatements()
    {
        return $this->statements;
    }

Usage Example

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