FEATURE #1422: prepare application for registering widgets

This commit is contained in:
Michal Kváček
2016-02-15 12:19:40 +01:00
parent 677acf3dcb
commit da3046c990
10 changed files with 243 additions and 1 deletions
@@ -0,0 +1,12 @@
<?php
namespace App\Widgets\Contracts;
interface AdminDashboardWidget extends PublicWidget
{
/**
* Getter for list of all roles which are allowed to display the widget
*
* @return array
*/
public static function renderForRoles();
}