/** * Uses the query-callable from the PostType. * * @param Query $query Query object. * @return Query Query object. */ protected function _callQuery($query) { $query->contain($this->type['contain']); $extQuery = $this->type['query']; return $extQuery($query); }