-
-
Notifications
You must be signed in to change notification settings - Fork 424
Expand file tree
/
Copy pathRenderable.php
More file actions
28 lines (24 loc) · 795 Bytes
/
Copy pathRenderable.php
File metadata and controls
28 lines (24 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
declare(strict_types=1);
/*
* This file is part of the DebugBar package.
*
* (c) 2013 Maxime Bouroumeau-Fuseau
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace DebugBar\DataCollector;
/**
* Indicates that a DataCollector is renderable using JavascriptRenderer
*/
interface Renderable extends DataCollectorInterface
{
/**
* Returns a hash where keys are control names and their values
* an array of options as defined in {@see DebugBar\JavascriptRenderer::addControl()}
*
* @return array<string, array{icon?: string, widget?: string, map?: string, default?: float|int|string, title?: string, tooltip?: string}>
*/
public function getWidgets(): array;
}