ImportOldLine extends AbstractLine
FinalYes
A line using INCLUDE_TYPOSCRIPT: "<INCLUDE_TYPOSCRIPT: source="FILE:EXT:my_extension/Resources/Private/TypoScript/bar.typoscript">"
The entire string after the keyword until closing ">" is the $valueToken. The value itself is not parsed further at this point, this is done by the IncludeTree classes.
Tags
Table of Contents
Properties
Methods
- getTokenStream() : TokenStreamInterface
- getValueToken() : Token
- setTokenStream() : static
- Set and get the token stream that represents the full line. This is mostly used in backend to for instance create a TypoScript string back from tokenized lines.
- setValueToken() : static
Properties
$tokenStream
protected
TokenStreamInterface
$tokenStream
Methods
getTokenStream()
public
getTokenStream() : TokenStreamInterface
Return values
TokenStreamInterfacegetValueToken()
public
getValueToken() : Token
Return values
TokensetTokenStream()
Set and get the token stream that represents the full line. This is mostly used in backend to for instance create a TypoScript string back from tokenized lines.
public
setTokenStream(TokenStreamInterface $tokenStream) : static
Note: Only the LosslessTokenizer fills this 'full line' stream, LossyTokenizer does not for performance reasons.
Parameters
- $tokenStream : TokenStreamInterface
Return values
staticsetValueToken()
public
setValueToken(Token $token) : static
Parameters
- $token : Token