‪TYPO3CMS  10.4
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 
40  public function ‪getValue(): string
41  {
42  return ‪$this->value;
43  }
44 
49  public function ‪setValue(string ‪$value): self
50  {
51  $this->value = ‪$value;
52  return $this;
53  }
54 
58  public function ‪getModel(): ‪Model
59  {
60  return ‪$this->model;
61  }
62 
67  public function ‪setModel(‪Model ‪$model): self
68  {
69  $this->model = ‪$model;
70  return $this;
71  }
72 }
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\Model\getModel
‪Model getModel()
Definition: Model.php:56
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:23
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model
Definition: Model.php:18
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\Model\getValue
‪string getValue()
Definition: Model.php:38
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\Model\setValue
‪self setValue(string $value)
Definition: Model.php:47
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\Model\$model
‪Model $model
Definition: Model.php:33
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\Model
Definition: Model.php:26
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\Model\$value
‪string $value
Definition: Model.php:29
‪TYPO3\CMS\Extbase\Tests\Functional\Mvc\Controller\Fixture\Domain\Model\Model\setModel
‪self setModel(Model $model)
Definition: Model.php:65