public function allocateProcess($alias, $name, $pid)
    {
        try
        {
            $record = [
                'pid'      => $pid,
                'name'     => $name,
                'verified' => true
            ];

            $this->updateStorage([ $alias => $record ]);
            $this->processes[$alias] = $record;
        }
        catch (Error $ex)
        {
            return false;
        }
        catch (Exception $ex)
        {
            return false;
        }

        return true;
    }
public function allocateProcess($alias, $name, $pid)
    {
        try
        {
            $record = [
                'pid'      => $pid,
                'name'     => $name,
                'verified' => true
            ];

            $this->updateStorage([ $alias => $record ]);
            $this->processes[$alias] = $record;
        }
        catch (Error $ex)
        {
            return false;
        }
        catch (Exception $ex)
        {
            return false;
        }

        return true;
    }
public function allocateProcess ( $ alias , $ name , $ pid ) { try { $ record = [ 'pid' => $ pid , 'name' => $ name , 'verified' => true ] ; $ this -> updateStorage ( [ $ alias => $ record ] ) ; $ this -> processes [ $ alias ] = $ record ; } catch ( Error $ ex ) { return false ; } catch ( Exception $ ex ) { return false ; } return true ; }
Allocate process.

@internal
@param string $alias
@param string $name
@param string $pid
@return bool
Allocate process .