2018-03-20 09:50:40 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace {{namespace}};
|
|
|
|
|
2019-08-02 21:02:23 +08:00
|
|
|
use App\Contracts\Widget;
|
2018-03-20 09:50:40 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Class {{class}}
|
|
|
|
* @package {{namespace}}
|
|
|
|
*/
|
|
|
|
class {{class}} extends Widget
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Treat this method as a controller action.
|
|
|
|
* Return view() or other content to display.
|
|
|
|
*/
|
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|