![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /home/fdshops/public_html/vendor/nwidart/laravel-menus/src/Facades/ |
<?php namespace Nwidart\Menus\Facades; use Closure; use Illuminate\Support\Facades\Facade; use Nwidart\Menus\MenuBuilder; /** * @method static MenuBuilder make($name, Closure $callback) Make new menu. * @method static MenuBuilder create($name, Closure $resolver) Create new menu. * @method static bool has(string $name) check if the menu exists. * @method static string|null instance(string $name) Get instance of the given meu if exists. * @method static void modify(string $name, Closure $callback) Modify a specific menu. * @method static string|null get(string $name, string $presenter = null, array $bindings = []) Render the menu tag by given name. * @method static string|null render(string $name, string $presenter = null, array $bindings = []) Render the menu tag by given name. * @method static mixed style() Get a stylesheet for enable multilevel menu. * @method static array all() Get all Menus. * @method static int count() Get Count from all menus. * @method static void destroy() Empty the current menus. */ class Menu extends Facade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'menus'; } }