[TASK] Re-work/simplify copyright header in PHP files - Part 4
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Functional / Fixtures / Extensions / irre_tutorial / Classes / Domain / Model / Hotel.php
1 <?php
2 namespace OliverHader\IrreTutorial\Domain\Model;
3
4 /**
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16
17 /**
18 * Hotel
19 */
20 class Hotel extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
21
22 /**
23 * @var string
24 */
25 protected $title = '';
26
27 /**
28 * @lazy
29 * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Offer>
30 */
31 protected $offers = NULL;
32
33 /**
34 * Initializes this object.
35 */
36 public function __construct() {
37 $this->offers = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
38 }
39
40 /**
41 * @return string $title
42 */
43 public function getTitle() {
44 return $this->title;
45 }
46
47 /**
48 * @param string $title
49 * @return void
50 */
51 public function setTitle($title) {
52 $this->title = $title;
53 }
54
55 /**
56 * @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Offer>
57 */
58 public function getOffers() {
59 return $this->offers;
60 }
61
62 /**
63 * @param \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\OliverHader\IrreTutorial\Domain\Model\Offer> $offers
64 * @return void
65 */
66 public function setOffers(\TYPO3\CMS\Extbase\Persistence\ObjectStorage $offers) {
67 $this->offers = $offers;
68 }
69
70 }