]> Raphaël G. Git Repositories - airbundle/blob - Entity/Civility.php
Remove subscribe templates
[airbundle] / Entity / Civility.php
1 <?php declare(strict_types=1);
2
3 /*
4 * this file is part of the rapsys packbundle package.
5 *
6 * (c) raphaël gertz <symfony@rapsys.eu>
7 *
8 * for the full copyright and license information, please view the license
9 * file that was distributed with this source code.
10 */
11
12 namespace Rapsys\AirBundle\Entity;
13
14 use Rapsys\UserBundle\Entity\Civility as BaseCivility;
15
16 class Civility extends BaseCivility {
17 /**
18 * @var string
19 */
20 private $short;
21
22 /**
23 * Set short
24 *
25 * @param string $short
26 *
27 * @return Civility
28 */
29 public function setShort(string $short): Civility {
30 $this->short = $short;
31
32 return $this;
33 }
34
35 /**
36 * Get short
37 *
38 * @return string
39 */
40 public function getShort(): string {
41 return $this->short;
42 }
43
44 /**
45 * Returns a string representation of the civility
46 *
47 * @return string
48 */
49 public function __toString(): string {
50 return $this->short;
51 }
52 }