method deleteCachedModel documentation in bbn\Mvc

This will unset the model in cache

function($path, array $data, bbn\Mvc\Controller $ctrl) { if (\is_null($data)) { $data = $this->data; } if ($route = $this->router->route(router::parse($path), 'model')) { $model = new Model($this->db, $route, $ctrl, $this); $model->deleteCache($data, ''); } }

This will unset the model in cache BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.