public function allTagValues($values, $attribute = null) { $model = new $this->owner->modelClass(); return $this->anyTagValues($values, $attribute)->andHaving(new Expression('COUNT(*) = ' . count($model->filterTagValues($values)))); }