null, /** *-------------------------------------------------------------------------- * Breadcrumbs File(s) *-------------------------------------------------------------------------- * * The file(s) where breadcrumbs are defined. e.g. * * - base_path('routes/breadcrumbs.php') * - glob(base_path('breadcrumbs/*.php')) * */ 'files' => array_filter([ ...glob(base_path('routes/breadcrumbs/*.php')) ?: [], ]), /** *-------------------------------------------------------------------------- * Exceptions *-------------------------------------------------------------------------- * * Determine when to throw an exception. * */ // * When route-bound breadcrumbs are used but the current route doesn't have a name (UnnamedRouteException) 'unnamed-route-exception' => true, // * When route-bound breadcrumbs are used and the matching breadcrumb doesn't exist (InvalidBreadcrumbException) 'missing-route-bound-breadcrumb-exception' => true, // * When a named breadcrumb is used but doesn't exist (InvalidBreadcrumbException) 'invalid-named-breadcrumb-exception' => true, /** *-------------------------------------------------------------------------- * Classes *-------------------------------------------------------------------------- * * Subclass the default classes for more advanced customisations. * */ // * Manager 'manager-class' => Diglactic\Breadcrumbs\Manager::class, // * Generator 'generator-class' => Diglactic\Breadcrumbs\Generator::class, ];