ImportLine extends AbstractLine
FinalYes
A line using the "@import" keyword: "@import 'EXT:my_extension/Configuration/TypoScript/randomfile.typoscript'"
Contains the $valueToken ("EXT:my_extension/Configuration/TypoScript/randomfile.typoscript"), without the surrounding tick (') or doubletick ("). 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