‪TYPO3CMS  10.4
ModelDto.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 
24 {
28  protected ‪$value;
29 
33  protected ‪$model;
34 
38  public function ‪getValue(): string
39  {
40  return ‪$this->value;
41  }
42 
47  public function ‪setValue(string ‪$value): self
48  {
49  $this->value = ‪$value;
50  return $this;
51  }
52 
56  public function ‪getModel(): ‪ModelDto
57  {
58  return ‪$this->model;
59  }
60 
65  public function ‪setModel(‪ModelDto ‪$model): self
66  {
67  $this->model = ‪$model;
68  return $this;
69  }
70 }
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\setModel
‪self setModel(ModelDto $model)
Definition: ModelDto.php:63
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\getModel
‪ModelDto getModel()
Definition: ModelDto.php:54
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model
Definition: Model.php:18
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\setValue
‪self setValue(string $value)
Definition: ModelDto.php:45
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\$value
‪string $value
Definition: ModelDto.php:27
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\$model
‪ModelDto $model
Definition: ModelDto.php:31
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto\getValue
‪string getValue()
Definition: ModelDto.php:36
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\ModelDto
Definition: ModelDto.php:24