X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/f110b8ba20232e0ceeb67390f8e672431868d32d..f30bae21701a9fed737e81a426e58e76eb193b5e:/Entity/Title.php diff --git a/Entity/Title.php b/Entity/Title.php index 54a6a60..e6cc9e8 100644 --- a/Entity/Title.php +++ b/Entity/Title.php @@ -1,7 +1,41 @@ <?php -// src/Rapsys/AirBundle/Entity/Title.php namespace Rapsys\AirBundle\Entity; class Title extends \Rapsys\UserBundle\Entity\Title { + /** + * @var string + */ + private $short; + + /** + * Set short + * + * @param string $short + * + * @return Title + */ + public function setShort($short) { + $this->short = $short; + + return $this; + } + + /** + * Get short + * + * @return string + */ + public function getShort() { + return $this->short; + } + + /** + * Returns a string representation of the title + * + * @return string + */ + public function __toString(): string { + return $this->short; + } }