src/AbstractPool.php
public function getProcessByName($name)
    {
        foreach ($this->processes as $process) {
            if ($process->name() == $name) {
                return $process;
            }
        }

        return null;
    }
public function getProcessByName($name)
    {
        foreach ($this->processes as $process) {
            if ($process->name() == $name) {
                return $process;
            }
        }

        return null;
    }
public function getProcessByName ( $ name ) { foreach ( $ this -> processes as $ process ) { if ( $ process -> name ( ) == $ name ) { return $ process ; } } return null ; }
get process by name

@param string $name process name
@return Process|null
get process by name