private function applyConditions($matches)
    {
        foreach ($this->conditions as $condition) {
            $matches = $this->filter($matches, $condition);
        }

        return $matches;
    }
private function applyConditions($matches)
    {
        foreach ($this->conditions as $condition) {
            $matches = $this->filter($matches, $condition);
        }

        return $matches;
    }
private function applyConditions ( $ matches ) { foreach ( $ this -> conditions as $ condition ) { $ matches = $ this -> filter ( $ matches , $ condition ) ; } return $ matches ; }
Apply the conditions

@param   array $matches The records

@return  array
Apply the conditions