public function analyze() { // class with one method only $this->atomIs(array('Class', 'Trait'))->outIs('BLOCK')->outIs('ELEMENT')->atomIs('Function')->outIs('NAME'); $this->prepareQuery(); }