Model/Process/TopProcessParser.php
public function parse()
    {
        $raw = $this->getRaw();
        $count = count($raw);
        for ($i = 7; $i < $count; $i++) {
            $line = $raw[$i];

            $process = new Process(
                $line[11],
                $line[0],
                floatval($line[8]),
                floatval($line[9])
            );

            $this->processes[] = $process;
        }
    }
public function parse()
    {
        $raw = $this->getRaw();
        $count = count($raw);
        for ($i = 7; $i < $count; $i++) {
            $line = $raw[$i];

            $process = new Process(
                $line[11],
                $line[0],
                floatval($line[8]),
                floatval($line[9])
            );

            $this->processes[] = $process;
        }
    }
public function parse ( ) { $ raw = $ this -> getRaw ( ) ; $ count = count ( $ raw ) ; for ( $ i = 7 ; $ i < $ count ; $ i ++ ) { $ line = $ raw [ $ i ] ; $ process = new Process ( $ line [ 11 ] , $ line [ 0 ] , floatval ( $ line [ 8 ] ) , floatval ( $ line [ 9 ] ) ) ; $ this -> processes [ ] = $ process ; } }
Run the parsing process
Run the parsing process