]> Raphaƫl G. Git Repositories - airbundle/blob - Entity/Civility.php
Add strict type
[airbundle] / Entity / Civility.php
1 <?php
2
3 namespace Rapsys\AirBundle\Entity;
4
5 class Civility extends \Rapsys\UserBundle\Entity\Civility {
6 /**
7 * @var string
8 */
9 private $short;
10
11 /**
12 * Set short
13 *
14 * @param string $short
15 *
16 * @return Civility
17 */
18 public function setShort($short) {
19 $this->short = $short;
20
21 return $this;
22 }
23
24 /**
25 * Get short
26 *
27 * @return string
28 */
29 public function getShort() {
30 return $this->short;
31 }
32
33 /**
34 * Returns a string representation of the civility
35 *
36 * @return string
37 */
38 public function __toString(): string {
39 return $this->short;
40 }
41 }