| 1 | <?php |
||
| 7 | class Audience implements SerializableInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var AudienceType |
||
| 11 | */ |
||
| 12 | private $audienceType; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Audience constructor. |
||
| 16 | * @param AudienceType $audienceType |
||
| 17 | */ |
||
| 18 | public function __construct(AudienceType $audienceType) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return AudienceType |
||
| 25 | */ |
||
| 26 | public function getAudienceType() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @inheritdoc |
||
| 33 | */ |
||
| 34 | public static function deserialize(array $data) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @inheritdoc |
||
| 43 | */ |
||
| 44 | public function serialize() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param Audience $otherAudience |
||
| 53 | * @return bool |
||
| 54 | */ |
||
| 55 | public function equals(Audience $otherAudience) |
||
| 59 | } |
||
| 60 |