Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace app\models\customer;
- /**
- * Class Customer
- * @package app\models\customer
- *
- * @property string $name
- * @property \DateTime $birth_date
- * @property string $notes
- * @property PhoneRecord[] $phones
- */
- class Customer {
- /** @var string */
- public $name;
- /** @var \DateTime */
- public $birth_date;
- /** @var string */
- public $notes = '';
- /** @var PhoneRecord[] */
- public $phones = [];
- public function __construct($name, $birthDate) {
- $this->name = $name;
- $this->birth_date = $birthDate;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement