public function setShell(Shell $shell)
    {
        $this->shell = $shell;
        $this->doAddCommands();
        $this->doAddMatchers();
    }
public function setShell(Shell $shell)
    {
        $this->shell = $shell;
        $this->doAddCommands();
        $this->doAddMatchers();
    }
public function setShell ( Shell $ shell ) { $ this -> shell = $ shell ; $ this -> doAddCommands ( ) ; $ this -> doAddMatchers ( ) ; }
Set the Shell backreference and add any new commands to the Shell.

@param Shell $shell
Set the Shell backreference and add any new commands to the Shell .