src/ModelAbstract.php
final public function getFields(string $action = '', bool $strict = true): array
    {
        $methods = [
            Action::CREATE => 'isCreate',
            Action::READ => 'isRead',
            Action::UPDATE => 'isUpdate',
            Action::RECOVER => 'isRecover',
        ];
        $method = off($methods, $action, '');

        return $this->filterFields($this->getCollection(), $method, $strict);
    }
final public function getFields(string $action = '', bool $strict = true): array
    {
        $methods = [
            Action::CREATE => 'isCreate',
            Action::READ => 'isRead',
            Action::UPDATE => 'isUpdate',
            Action::RECOVER => 'isRecover',
        ];
        $method = off($methods, $action, '');

        return $this->filterFields($this->getCollection(), $method, $strict);
    }
;

@param string $action
@param bool $strict
@return array