public function getAllProcesses()
    {
        $processes = $this->getAllProcessInfo();

        foreach ($processes as $key => $processInfo) {
            $processes[$key] = new Process($processInfo);
        }

        return $processes;
    }
public function getAllProcesses()
    {
        $processes = $this->getAllProcessInfo();

        foreach ($processes as $key => $processInfo) {
            $processes[$key] = new Process($processInfo);
        }

        return $processes;
    }
public function getAllProcesses ( ) { $ processes = $ this -> getAllProcessInfo ( ) ; foreach ( $ processes as $ key => $ processInfo ) { $ processes [ $ key ] = new Process ( $ processInfo ) ; } return $ processes ; }
Returns all processes as Process objects.

@return array Array of Process objects
Returns all processes as Process objects .