protected function getHelpResource($key)
    {
        if (!isset($this->helpResources[$key])) {
            throw new \InvalidArgumentException(sprintf("The resource \"%s\" you are asking for doesn't exist.", $key));
        }

        return $this->helpResources[$key];
    }
protected function getHelpResource($key)
    {
        if (!isset($this->helpResources[$key])) {
            throw new \InvalidArgumentException(sprintf("The resource \"%s\" you are asking for doesn't exist.", $key));
        }

        return $this->helpResources[$key];
    }
protected function getHelpResource ( $ key ) { if ( ! isset ( $ this -> helpResources [ $ key ] ) ) { throw new \ InvalidArgumentException ( sprintf ( "The resource \"%s\" you are asking for doesn't exist." , $ key ) ) ; } return $ this -> helpResources [ $ key ] ; }
Get a resource to help during testing.

@param $key

@return mixed
Get a resource to help during testing .