/** * Registers services on the given app. * * This method should only be used to configure services and parameters. * It should not get services. * * @param Container $container A Container instance */ public function register(Container $container) { $container['breadcrumbs'] = BreadCrumbCollection::getInstance(); }
/** * Registers services on the given app. * * This method should only be used to configure services and parameters. * It should not get services. * * @param Application $app An Application instance */ public function register(Application $app) { $app['breadcrumbs'] = BreadCrumbCollection::getInstance(); }