main/core/Manager/Resource/ResourceActionManager.php
public function support(ResourceNode $resourceNode, string $actionName, string $method): bool
    {
        $action = $this->get($resourceNode, $actionName);

        if (empty($action) || !in_array($method, $action->getApi())) {
            return false;
        }

        return true;
    }
public function support(ResourceNode $resourceNode, string $actionName, string $method): bool
    {
        $action = $this->get($resourceNode, $actionName);

        if (empty($action) || !in_array($method, $action->getApi())) {
            return false;
        }

        return true;
    }
public function support ( ResourceNode $ resourceNode , string $ actionName , string $ method ) : bool { $ action = $ this -> get ( $ resourceNode , $ actionName ) ; if ( empty ( $ action ) || ! in_array ( $ method , $ action -> getApi ( ) ) ) { return false ; } return true ; }
Checks if the resource node supports an action.

@param ResourceNode $resourceNode
@param string       $actionName
@param string       $method

@return bool
Checks if the resource node supports an action .