/** * Try loading eloquent cache * * @return void */ protected function tryLoadingEloquentCache() { $this->app->booted(function () { $array = (array) @(include_once EloquentCacheCommand::getCachedEloquentPath()); if (!empty($array)) { FasterModel::loadArrayIntoCachedMutatorAttributes($array); } }); }