]> Raphaƫl G. Git Repositories - airbundle/blob - Entity/Title.php
Add weather and slot glyphs
[airbundle] / Entity / Title.php
1 <?php
2
3 namespace Rapsys\AirBundle\Entity;
4
5 class Title extends \Rapsys\UserBundle\Entity\Title {
6 /**
7 * @var string
8 */
9 private $short;
10
11 /**
12 * Set short
13 *
14 * @param string $short
15 *
16 * @return Title
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 title
35 *
36 * @return string
37 */
38 public function __toString(): string {
39 return $this->short;
40 }
41 }