public function __construct($app) { $this->app = $app; $driver = $this->app['config']['cache.driver']; if ($driver == 'database') { $this->support_tags = false; } else { $this->support_tags = true; } }