‪TYPO3CMS  ‪main
Model.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 
26 {
30  protected ‪$value;
31 
35  protected ‪$model;
36 
37  public function ‪getValue(): string
38  {
39  return ‪$this->value;
40  }
41 
42  public function ‪setValue(string ‪$value): self
43  {
44  $this->value = ‪$value;
45  return $this;
46  }
47 
48  public function ‪getModel(): ‪Model
49  {
50  return ‪$this->model;
51  }
52 
53  public function ‪setModel(‪Model ‪$model): self
54  {
55  $this->model = ‪$model;
56  return $this;
57  }
58 }
‪TYPO3Tests\ActionControllerTest\Domain\Model\Model\getValue
‪getValue()
Definition: Model.php:35
‪TYPO3Tests\ActionControllerTest\Domain\Model
Definition: Model.php:18
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:22
‪TYPO3Tests\ActionControllerTest\Domain\Model\Model
Definition: Model.php:26
‪TYPO3Tests\ActionControllerTest\Domain\Model\Model\getModel
‪getModel()
Definition: Model.php:46
‪TYPO3Tests\ActionControllerTest\Domain\Model\Model\setModel
‪setModel(Model $model)
Definition: Model.php:51
‪TYPO3Tests\ActionControllerTest\Domain\Model\Model\$model
‪Model $model
Definition: Model.php:33
‪TYPO3Tests\ActionControllerTest\Domain\Model\Model\setValue
‪setValue(string $value)
Definition: Model.php:40
‪TYPO3Tests\ActionControllerTest\Domain\Model\Model\$value
‪string $value
Definition: Model.php:29