src/Charcoal/Loader/CollectionLoader.php
public function setKeywords(array $keywords)
    {
        foreach ($keywords as $query) {
            $keyword    = $query[0];
            $properties = (isset($query[1]) ? (array)$query[1] : null);
            $this->addKeyword($keyword, $properties);
        }

        return $this;
    }
public function setKeywords(array $keywords)
    {
        foreach ($keywords as $query) {
            $keyword    = $query[0];
            $properties = (isset($query[1]) ? (array)$query[1] : null);
            $this->addKeyword($keyword, $properties);
        }

        return $this;
    }
public function setKeywords ( array $ keywords ) { foreach ( $ keywords as $ query ) { $ keyword = $ query [ 0 ] ; $ properties = ( isset ( $ query [ 1 ] ) ? ( array ) $ query [ 1 ] : null ) ; $ this -> addKeyword ( $ keyword , $ properties ) ; } return $ this ; }
Set "search" keywords to filter multiple properties.

@param  array $keywords An array of keywords and properties.
Expected format: `[ "search query", [ "field names…" ] ]`.
@return self
Set search keywords to filter multiple properties .