protected function getIncludedMethods()
    {
        if ($this->only) {
            return $this->only;
        } elseif ($this->except) {
            return array_diff($this->methods, $this->except);
        }

        return $this->methods;
    }
protected function getIncludedMethods()
    {
        if ($this->only) {
            return $this->only;
        } elseif ($this->except) {
            return array_diff($this->methods, $this->except);
        }

        return $this->methods;
    }
protected function getIncludedMethods ( ) { if ( $ this -> only ) { return $ this -> only ; } elseif ( $ this -> except ) { return array_diff ( $ this -> methods , $ this -> except ) ; } return $ this -> methods ; }
Get the methods to be included in the resource.

@return array
Get the methods to be included in the resource .