laravel-6 support
This commit is contained in:
37
vendor/davejamesmiller/laravel-breadcrumbs/src/Facades/Breadcrumbs.php
vendored
Normal file
37
vendor/davejamesmiller/laravel-breadcrumbs/src/Facades/Breadcrumbs.php
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
namespace DaveJamesMiller\Breadcrumbs\Facades;
|
||||
|
||||
use DaveJamesMiller\Breadcrumbs\BreadcrumbsManager;
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* Breadcrumbs facade - allows easy access to the Manager instance.
|
||||
*
|
||||
* @method static void for(string $name, callable $callback)
|
||||
* @method static void register(string $name, callable $callback)
|
||||
* @method static void before(callable $callback)
|
||||
* @method static void after(callable $callback)
|
||||
* @method static bool exists(string $name = NULL)
|
||||
* @method static \Illuminate\Support\Collection generate(string $name = NULL, ...$params)
|
||||
* @method static \Illuminate\Support\HtmlString view(string $view, string $name = NULL, ...$params)
|
||||
* @method static \Illuminate\Support\HtmlString render(string $name = NULL, ...$params)
|
||||
* @method static \stdClass|null current()
|
||||
* @method static array getCurrentRoute()
|
||||
* @method static void setCurrentRoute(string $name, ...$params)
|
||||
* @method static void clearCurrentRoute()
|
||||
* @mixin \Illuminate\Support\Traits\Macroable
|
||||
* @see BreadcrumbsManager
|
||||
*/
|
||||
class Breadcrumbs extends Facade
|
||||
{
|
||||
/**
|
||||
* Get the name of the class registered in the Application container.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor(): string
|
||||
{
|
||||
return BreadcrumbsManager::class;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user