Rapport-Laravel/vendor/arrilot/laravel-widgets/src/Facade.php

24 lines
425 B
PHP

<?php
namespace Arrilot\Widgets;
class Facade extends \Illuminate\Support\Facades\Facade
{
protected static function getFacadeAccessor()
{
return 'arrilot.widget';
}
/**
* Get the widget group object.
*
* @param $name
*
* @return WidgetGroup
*/
public static function group($name)
{
return app('arrilot.widget-group-collection')->group($name);
}
}