Exakat\Tasks\Load::processNew PHP Method

processNew() private method

private processNew ( )
    private function processNew()
    {
        $this->toggleContext(self::CONTEXT_NEW);
        $id = $this->processSingleOperator('New', $this->precedence->get($this->tokens[$this->id][0]), 'NEW', ' ');
        if ($this->atoms[$id + 1]['atom'] === 'Identifier') {
            $this->addCall('class', $this->atoms[$id + 1]['fullnspath'], $id + 1);
        }
        $this->toggleContext(self::CONTEXT_NEW);
        return $id;
    }
Load