‪TYPO3CMS  ‪main
IdentifierBlockOpenLine.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 
31 {
33 
35  {
36  if (‪$tokenStream->‪isEmpty()) {
37  throw new \LogicException('Identifier token stream must not be empty', 1655824621);
38  }
39  $this->identifierTokenStream = ‪$tokenStream;
40  return $this;
41  }
42 
44  {
46  }
47 }
‪TYPO3\CMS\Core\TypoScript\Tokenizer\Line
Definition: AbstractLine.php:18
‪TYPO3\CMS\Core\TypoScript\Tokenizer\Token\IdentifierTokenStream
Definition: IdentifierTokenStream.php:44
‪TYPO3\CMS\Core\TypoScript\Tokenizer\Line\AbstractLine
Definition: AbstractLine.php:28
‪TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenStreamInterface\isEmpty
‪isEmpty()
‪TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierBlockOpenLine\getIdentifierTokenStream
‪getIdentifierTokenStream()
Definition: IdentifierBlockOpenLine.php:43
‪TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierBlockOpenLine
Definition: IdentifierBlockOpenLine.php:31
‪TYPO3\CMS\Core\TypoScript\Tokenizer\Line\AbstractLine\$tokenStream
‪TokenStreamInterface $tokenStream
Definition: AbstractLine.php:29
‪TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierBlockOpenLine\setIdentifierTokenStream
‪setIdentifierTokenStream(IdentifierTokenStream $tokenStream)
Definition: IdentifierBlockOpenLine.php:34
‪TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierBlockOpenLine\$identifierTokenStream
‪IdentifierTokenStream $identifierTokenStream
Definition: IdentifierBlockOpenLine.php:32