src/filters/TransformFilter.php
public function shouldTransform($action, $data): bool
    {
        if ($this->matchData($data) &&
            $this->matchCustom($action, $data)) {
            return true;
        }

        return false;
    }
public function shouldTransform($action, $data): bool
    {
        if ($this->matchData($data) &&
            $this->matchCustom($action, $data)) {
            return true;
        }

        return false;
    }
public function shouldTransform ( $ action , $ data ) : bool { if ( $ this -> matchData ( $ data ) && $ this -> matchCustom ( $ action , $ data ) ) { return true ; } return false ; }
Checks whether this filter should transform the specified action data.
@param Action $action the action to be performed
@param mixed $data the data to be transformed
@return bool `true` if the transformer should be applied, `false` if the transformer should be ignored
Checks whether this filter should transform the specified action data .