Skip to content
Permalink
Browse files

DefaultTemplate: added default properites and @methods

  • Loading branch information
dg committed Mar 4, 2020
1 parent 49b049a commit 638ab6acf4cff356391f76ae43f0731561b8dda4
Showing with 22 additions and 0 deletions.
  1. +22 −0 src/Bridges/ApplicationLatte/DefaultTemplate.php
@@ -14,9 +14,31 @@

/**
* Default template for controls and presenters.
*
* @method bool isLinkCurrent(string $destination = null, ...$args)
* @method bool isModuleCurrent(string $module)
*/
final class DefaultTemplate extends Template
{
/** @var Nette\Application\UI\Presenter */
public $presenter;

/** @var Nette\Application\UI\Control */
public $control;

/** @var Nette\Security\User */
public $user;

/** @var string */
public $baseUrl;

/** @var string */
public $basePath;

/** @var \stdClass[] */
public $flashes = [];


/**
* Adds new template parameter.
* @return static

0 comments on commit 638ab6a

Please sign in to comment.
You can’t perform that action at this time.