Fix some phpdocs for Twig extensions & templating helpers
This commit is contained in:
parent
9215c222ff
commit
a95f7f38af
@ -210,6 +210,9 @@ class CodeExtension extends \Twig_Extension
|
|||||||
}, $text);
|
}, $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
return 'code';
|
return 'code';
|
||||||
|
@ -81,6 +81,9 @@ class HttpKernelExtension extends \Twig_Extension
|
|||||||
return new ControllerReference($controller, $attributes, $query);
|
return new ControllerReference($controller, $attributes, $query);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
return 'http_kernel';
|
return 'http_kernel';
|
||||||
|
@ -89,9 +89,7 @@ class RoutingExtension extends \Twig_Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of the extension.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The extension name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -52,9 +52,7 @@ class SecurityExtension extends \Twig_Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of the extension.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The extension name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -99,9 +99,7 @@ class TranslationExtension extends \Twig_Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of the extension.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The extension name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -56,9 +56,7 @@ class YamlExtension extends \Twig_Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of the extension.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The extension name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -58,9 +58,7 @@ class ActionsHelper extends Helper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the canonical name of this helper.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The canonical name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -205,9 +205,7 @@ class CodeHelper extends Helper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the canonical name of this helper.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The canonical name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -59,9 +59,7 @@ class RequestHelper extends Helper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the canonical name of this helper.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The canonical name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -50,9 +50,7 @@ class RouterHelper extends Helper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the canonical name of this helper.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The canonical name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -62,9 +62,7 @@ class SessionHelper extends Helper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the canonical name of this helper.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The canonical name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -50,9 +50,7 @@ class TranslatorHelper extends Helper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the canonical name of this helper.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The canonical name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -114,9 +114,7 @@ class LogoutUrlHelper extends Helper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the canonical name of this helper.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The canonical name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -48,9 +48,7 @@ class SecurityHelper extends Helper
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the canonical name of this helper.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The canonical name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
@ -62,6 +62,9 @@ class ActionsExtension extends \Twig_Extension
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
return 'actions';
|
return 'actions';
|
||||||
|
@ -68,9 +68,7 @@ class AssetsExtension extends \Twig_Extension
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of the extension.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @return string The extension name
|
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user