🎨 Code hints, docblocks

This commit is contained in:
Flavio Copes
2016-01-28 15:07:54 +01:00
parent 30a08f6203
commit d200f7a72c
2 changed files with 13 additions and 2 deletions

View File

@@ -479,6 +479,8 @@ class Admin
/**
* Get all themes.
*
* @param bool $local
*
* @return array
*/
public function themes($local = true)

View File

@@ -1,14 +1,23 @@
<?php
namespace Grav\Plugin;
use \Grav\Common\Grav;
use Grav\Common\Grav;
use Grav\Common\Language\Language;
use Symfony\Component\Yaml\Yaml;
use Symfony\Component\Yaml\Dumper;
use Symfony\Component\Yaml\Parser;
class AdminTwigExtension extends \Twig_Extension
{
/**
* @var Grav
*/
protected $grav;
/**
* @var Language $lang
*/
protected $lang;
public function __construct()
{
$this->grav = Grav::instance();