‪TYPO3CMS  10.4
Price.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 
24 {
28  protected ‪$title = '';
29 
33  protected ‪$price = 0.0;
34 
38  public function ‪getTitle()
39  {
40  return ‪$this->title;
41  }
42 
46  public function ‪setTitle(‪$title)
47  {
48  $this->title = ‪$title;
49  }
50 
54  public function ‪getPrice()
55  {
56  return ‪$this->price;
57  }
58 
62  public function ‪setPrice(‪$price)
63  {
64  $this->price = ‪$price;
65  }
66 }
‪OliverHader\IrreTutorial\Domain\Model\Price\getTitle
‪string getTitle()
Definition: Price.php:36
‪OliverHader\IrreTutorial\Domain\Model\Price\$price
‪float $price
Definition: Price.php:31
‪OliverHader\IrreTutorial\Domain\Model\Price\getPrice
‪float getPrice()
Definition: Price.php:52
‪OliverHader\IrreTutorial\Domain\Model\Price\$title
‪string $title
Definition: Price.php:27
‪TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition: AbstractEntity.php:23
‪OliverHader\IrreTutorial\Domain\Model
Definition: Content.php:16
‪OliverHader\IrreTutorial\Domain\Model\Price\setPrice
‪setPrice($price)
Definition: Price.php:60
‪OliverHader\IrreTutorial\Domain\Model\Price
Definition: Price.php:24
‪OliverHader\IrreTutorial\Domain\Model\Price\setTitle
‪setTitle($title)
Definition: Price.php:44