Exakat\Analyzer\Classes\OldStyleConstructor::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        $hasNo__construct = 'where( __.out("BLOCK").out("ELEMENT").hasLabel("Function").out("NAME").filter{ it.get().value("code").toLowerCase() == "__construct"}.count().is(eq(0)) )';
        $this->atomIs('Class')->outIs('NAME')->savePropertyAs('code', 'name')->inIs('NAME')->raw($hasNo__construct)->outIs('BLOCK')->outIs('ELEMENT')->atomIs('Function')->outIs('NAME')->samePropertyAs('code', 'name')->goToNamespace()->atomIs('File')->back('first');
        $this->prepareQuery();
        $this->atomIs('Class')->outIs('NAME')->savePropertyAs('code', 'name')->inIs('NAME')->raw($hasNo__construct)->outIs('BLOCK')->outIs('ELEMENT')->atomIs('Function')->outIs('NAME')->samePropertyAs('code', 'name')->goToNamespace()->atomIs('Namespace')->outIs('NAME')->atomIs('Void')->back('first');
        $this->prepareQuery();
    }
OldStyleConstructor