Exakat\Analyzer\Arrays\NonConstantArray::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        // Array, outside a string
        $this->atomIs('Array')->hasNoParent('String', 'CONCAT')->outIs('INDEX')->atomIs(array('Identifier', 'Nsname'))->hasNoConstantDefinition();
        $this->prepareQuery();
        // Array, inside a string
        $this->atomIs('Array')->hasParent(array('String', 'Heredoc'), 'CONCAT')->tokenIs(array('T_DOLLAR_OPEN_CURLY_BRACES', 'T_CURLY_OPEN'))->outIs('INDEX')->atomIs(array('Identifier', 'Nsname'))->hasNoConstantDefinition();
        $this->prepareQuery();
    }
NonConstantArray