private function getPhpParser() { if (isset($this->parser)) { return $this->parser; } $this->parser = (new ParserFactory())->create(ParserFactory::PREFER_PHP7); return $this->parser; }