Documentation

DeprecatedTokenParser extends AbstractTokenParser
in package

Deprecates a section of a template.

{% deprecated 'The "base.twig" template is deprecated, use "layout.twig" instead.' %} {% extends 'layout.html.twig' %}

Tags
author

Yonel Ceruto yonelceruto@gmail.com

final

Table of Contents

$parser  : Parser
getTag()  : mixed
parse()  : mixed
setParser()  : mixed
Sets the parser associated with this token parser.

Properties

Methods

setParser()

Sets the parser associated with this token parser.

public setParser(Parser $parser) : mixed
Parameters
$parser : Parser
Return values
mixed

Search results