src/Jit/Parser.php
protected function _initLines($content)
    {
        if (!$this->_states['lines']) {
            return;
        }
        $lines = explode("\n", $content);
        $nbLines = count($lines);
        if ($this->_states['lines']) {
            for ($i = 0; $i < $nbLines; $i++) {
                $this->_root->lines['content'][$i] = [
                    'body' => $lines[$i],
                    'nodes' => [],
                    'coverable' => false
                ];
            }
        }
    }
protected function _initLines($content)
    {
        if (!$this->_states['lines']) {
            return;
        }
        $lines = explode("\n", $content);
        $nbLines = count($lines);
        if ($this->_states['lines']) {
            for ($i = 0; $i < $nbLines; $i++) {
                $this->_root->lines['content'][$i] = [
                    'body' => $lines[$i],
                    'nodes' => [],
                    'coverable' => false
                ];
            }
        }
    }
protected function _initLines ( $ content ) { if ( ! $ this -> _states [ 'lines' ] ) { return ; } $ lines = explode ( "\n" , $ content ) ; $ nbLines = count ( $ lines ) ; if ( $ this -> _states [ 'lines' ] ) { for ( $ i = 0 ; $ i < $ nbLines ; $ i ++ ) { $ this -> _root -> lines [ 'content' ] [ $ i ] = [ 'body' => $ lines [ $ i ] , 'nodes' => [ ] , 'coverable' => false ] ; } } }
Adds lines stores for root node.

@param string $content A php file content.
Adds lines stores for root node .