Initial commit: apps.supersam24.ru
This commit is contained in:
commit
e955e1da36
6566 files changed
+1271095
No files matched your search
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace WyriHaximus\TwigView\Panel;
|
||||
|
||||
use DebugKit\DebugPanel;
|
||||
use WyriHaximus\TwigView\Lib\TreeScanner;
|
||||
|
||||
// @codingStandardsIgnoreStart
|
||||
class TwigPanel extends DebugPanel
|
||||
// @codingStandardsIgnoreEnd
|
||||
{
|
||||
/**
|
||||
* Plugin name.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
// @codingStandardsIgnoreStart
|
||||
public $plugin = 'WyriHaximus/TwigView';
|
||||
// @codingStandardsIgnoreEnd
|
||||
|
||||
/**
|
||||
* Get the data for the twig panel.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function data()
|
||||
{
|
||||
return [
|
||||
'templates' => TreeScanner::all(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user