‪TYPO3CMS  10.4
DateTimeImmutableExample.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 
23 {
24 
30  protected ‪$datetimeImmutableText;
31 
37  protected ‪$datetimeImmutableInt;
38 
45 
49  public function ‪getDatetimeImmutableText(): \DateTimeImmutable
50  {
52  }
53 
57  public function ‪setDatetimeImmutableText(\DateTimeImmutable ‪$datetimeImmutableText)
58  {
59  $this->datetimeImmutableText = ‪$datetimeImmutableText;
60  }
61 
65  public function ‪getDatetimeImmutableInt(): \DateTimeImmutable
66  {
68  }
69 
73  public function ‪setDatetimeImmutableInt(\DateTimeImmutable ‪$datetimeImmutableInt)
74  {
75  $this->datetimeImmutableInt = ‪$datetimeImmutableInt;
76  }
77 
81  public function ‪getDatetimeImmutableDatetime(): \DateTimeImmutable
82  {
84  }
85 
89  public function ‪setDatetimeImmutableDatetime(\DateTimeImmutable ‪$datetimeImmutableDatetime)
90  {
91  $this->datetimeImmutableDatetime = ‪$datetimeImmutableDatetime;
92  }
93 }
‪ExtbaseTeam\BlogExample\Domain\Model\DateTimeImmutableExample\getDatetimeImmutableDatetime
‪DateTimeImmutable getDatetimeImmutableDatetime()
Definition: DateTimeImmutableExample.php:78
‪ExtbaseTeam\BlogExample\Domain\Model\DateTimeImmutableExample\getDatetimeImmutableText
‪DateTimeImmutable getDatetimeImmutableText()
Definition: DateTimeImmutableExample.php:46
‪ExtbaseTeam\BlogExample\Domain\Model\DateTimeImmutableExample\setDatetimeImmutableText
‪setDatetimeImmutableText(\DateTimeImmutable $datetimeImmutableText)
Definition: DateTimeImmutableExample.php:54
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:23
‪ExtbaseTeam\BlogExample\Domain\Model\DateTimeImmutableExample\setDatetimeImmutableInt
‪setDatetimeImmutableInt(\DateTimeImmutable $datetimeImmutableInt)
Definition: DateTimeImmutableExample.php:70
‪ExtbaseTeam\BlogExample\Domain\Model\DateTimeImmutableExample\$datetimeImmutableText
‪DateTimeImmutable $datetimeImmutableText
Definition: DateTimeImmutableExample.php:29
‪ExtbaseTeam\BlogExample\Domain\Model\DateTimeImmutableExample\$datetimeImmutableInt
‪DateTimeImmutable $datetimeImmutableInt
Definition: DateTimeImmutableExample.php:35
‪ExtbaseTeam\BlogExample\Domain\Model\DateTimeImmutableExample\$datetimeImmutableDatetime
‪DateTimeImmutable $datetimeImmutableDatetime
Definition: DateTimeImmutableExample.php:41
‪ExtbaseTeam\BlogExample\Domain\Model\DateTimeImmutableExample\setDatetimeImmutableDatetime
‪setDatetimeImmutableDatetime(\DateTimeImmutable $datetimeImmutableDatetime)
Definition: DateTimeImmutableExample.php:86
‪ExtbaseTeam\BlogExample\Domain\Model
Definition: Administrator.php:16
‪ExtbaseTeam\BlogExample\Domain\Model\DateTimeImmutableExample\getDatetimeImmutableInt
‪DateTimeImmutable getDatetimeImmutableInt()
Definition: DateTimeImmutableExample.php:62
‪ExtbaseTeam\BlogExample\Domain\Model\DateTimeImmutableExample
Definition: DateTimeImmutableExample.php:23