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

        return $this->methods;
    }