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
internal:

Internal tokenizer structure.

Table of Contents

Properties

$tokenStream  : TokenStreamInterface

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

Methods

setTokenStream()

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
static

setValueToken()

public setValueToken(Token $token) : static
Parameters
$token : Token
Return values
static

        
On this page

Search results