‪TYPO3CMS  ‪main
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 
35  public function ‪getValue(): string
36  {
37  return ‪$this->value;
38  }
39 
40  public function ‪setValue(string ‪$value): self
41  {
42  $this->value = ‪$value;
43  return $this;
44  }
45 
46  public function ‪getModel(): ‪ModelDto
47  {
48  return ‪$this->model;
49  }
50 
51  public function ‪setModel(‪ModelDto ‪$model): self
52  {
53  $this->model = ‪$model;
54  return $this;
55  }
56 }
‪TYPO3Tests\ActionControllerArgumentTest\Domain\Model\ModelDto\$value
‪string $value
Definition: ModelDto.php:27
‪TYPO3Tests\ActionControllerArgumentTest\Domain\Model\ModelDto
Definition: ModelDto.php:24
‪TYPO3Tests\ActionControllerArgumentTest\Domain\Model\ModelDto\getValue
‪getValue()
Definition: ModelDto.php:33
‪TYPO3Tests\ActionControllerArgumentTest\Domain\Model\ModelDto\$model
‪ModelDto $model
Definition: ModelDto.php:31
‪TYPO3Tests\ActionControllerArgumentTest\Domain\Model\ModelDto\getModel
‪getModel()
Definition: ModelDto.php:44
‪TYPO3Tests\ActionControllerArgumentTest\Domain\Model\ModelDto\setModel
‪setModel(ModelDto $model)
Definition: ModelDto.php:49
‪TYPO3Tests\ActionControllerArgumentTest\Domain\Model\ModelDto\setValue
‪setValue(string $value)
Definition: ModelDto.php:38
‪TYPO3Tests\ActionControllerArgumentTest\Domain\Model
Definition: Model.php:18