original_string: public function only($keys = null)
      {
          $keys = is_array($keys) ? $keys : func_get_args();
          return array_only($this->params, $keys);
      }
code: public function only($keys = null)
      {
          $keys = is_array($keys) ? $keys : func_get_args();
          return array_only($this->params, $keys);
      }
code_tokens: public function only ( $ keys = null ) { $ keys = is_array ( $ keys ) ? $ keys : func_get_args ( ) ; return array_only ( $ this -> params , $ keys ) ; }
docstring: Get a subset of the items from the parameters.
  
  @param  array  $keys
  @return array
docstring_tokens: Get a subset of the items from the parameters .