Engine/ChainEngine.php
public function supports($query)
    {
        foreach ($this->engines as $eachEngine) {
            if ($eachEngine->supports($query)) {
                return true;
            }
        }

        return false;
    }
public function supports($query)
    {
        foreach ($this->engines as $eachEngine) {
            if ($eachEngine->supports($query)) {
                return true;
            }
        }

        return false;
    }
Check whether this engines supports the given query type.

The chain engine supports the query, if at least one chained engine supports it.

@param mixed $query

@return bool