public function boot(ContainerInterface $container) { $res = $container->make(Resource::class); $res->data['booted'] = true; }