public function search($objectType, $query = [])
    {
        $results = [];
        if ($this->isSearchable($objectType)) {
            foreach ($this->get($objectType) as $line) {
                foreach ($query as $field => $needle) {
                    if (isset($line[$field])) {
                        if (stripos($line[$field], $needle) !== false) {
                            $results[] = $line;
                        }
                    }
                }
            }
        }

        return new Iterator($results);
    }