| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?php
-
- declare(strict_types=1);
-
- namespace PhpBenchmarksSymfony\SmallOverloadBundle\Entity;
-
- class SmallOverload72
- {
- /** @var ?int */
- protected $id;
-
- /** @var ?\DateTime */
- protected $date;
-
- /** @var ?\DateTime */
- protected $dateTime;
-
- /** @var ?string */
- protected $fixedString;
-
- /** @var ?string */
- protected $variableString;
-
- /** @return ?int */
- public function getId()
- {
- return $this->id;
- }
-
- /** @return $this */
- public function setDate(\DateTime $date)
- {
- $this->date = $date;
-
- return $this;
- }
-
- /** @return \DateTime */
- public function getDate()
- {
- return $this->date;
- }
-
- /** @return $this */
- public function setDateTime(\DateTime $dateTime = null)
- {
- $this->dateTime = $dateTime;
-
- return $this;
- }
-
- /** @return ?\DateTime */
- public function getDateTime()
- {
- return $this->dateTime;
- }
-
- /** @return $this */
- public function setFixedString(string $string = null)
- {
- $this->fixedString = $string;
-
- return $this;
- }
-
- /** @return ?string */
- public function getFixedString()
- {
- return $this->fixedString;
- }
-
- /** @return $this */
- public function setVariableString(string $variableString = null)
- {
- $this->variableString = $variableString;
-
- return $this;
- }
-
- /** @return ?string */
- public function getVariableString()
- {
- return $this->variableString;
- }
- }
|