/** * 2.2 version * {@inheritdoc} */ protected function hydrateAllData() { $listener = $this->getTranslatableListener(); $listener->setSkipOnLoad(true); $result = parent::hydrateAllData(); $listener->setSkipOnLoad(false); return $result; }
/** * Hydrates all rows from the current statement instance at once. * * @return Collection */ protected function hydrateAllData() { return new Collection(parent::hydrateAllData()); }