123456789101112131415161718192021222324252627282930 |
- <?php
-
- namespace Doctrine\Tests\Models\Company;
-
-
- class CompanyFlexUltraContract extends CompanyFlexContract
- {
-
-
- private $maxPrice = 0;
-
- public function calculatePrice()
- {
- return max($this->maxPrice, parent::calculatePrice());
- }
-
- public function getMaxPrice()
- {
- return $this->maxPrice;
- }
-
- public function setMaxPrice($maxPrice)
- {
- $this->maxPrice = $maxPrice;
- }
- }
|