protected function matchSchema($schema)
    {
        if (empty($this->schema)) {
            return true;
        }

        if (strpos($schema, $this->schema) !== false) {
            return true;
        }

        return false;
    }
protected function matchSchema($schema)
    {
        if (empty($this->schema)) {
            return true;
        }

        if (strpos($schema, $this->schema) !== false) {
            return true;
        }

        return false;
    }
protected function matchSchema ( $ schema ) { if ( empty ( $ this -> schema ) ) { return true ; } if ( strpos ( $ schema , $ this -> schema ) !== false ) { return true ; } return false ; }
Returns true if request matches schema or if no schema restrictions set

@param string $schema

@return bool
Returns true if request matches schema or if no schema restrictions set