‪TYPO3CMS  9.5
ModelDto.php
Go to the documentation of this file.
1 <?php
2 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 
22 {
26  protected ‪$value;
27 
31  protected ‪$model;
32 
36  public function ‪getValue(): string
37  {
38  return ‪$this->value;
39  }
40 
45  public function ‪setValue(string ‪$value): self
46  {
47  $this->value = ‪$value;
48  return $this;
49  }
50 
54  public function ‪getModel(): ‪ModelDto
55  {
56  return ‪$this->model;
57  }
58 
63  public function ‪setModel(‪ModelDto ‪$model): self
64  {
65  $this->model = ‪$model;
66  return $this;
67  }
68 }
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\setModel
‪self setModel(ModelDto $model)
Definition: ModelDto.php:61
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\getModel
‪ModelDto getModel()
Definition: ModelDto.php:52
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model
Definition: Model.php:3
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\setValue
‪self setValue(string $value)
Definition: ModelDto.php:43
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\$value
‪string $value
Definition: ModelDto.php:25
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\$model
‪ModelDto $model
Definition: ModelDto.php:29
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\getValue
‪string getValue()
Definition: ModelDto.php:34
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto
Definition: ModelDto.php:22