public function excludedForMethod($method) : bool
    {
        if (empty($this->only) && empty($this->except)) {
            return false;
        }

        return (!empty($this->only) && !in_array($method, $this->only)) ||
            (!empty($this->except) && in_array($method, $this->except));
    }