1: <?php
2: /*
3: * Copyright (c) 2016 Geraldo B. Landre
4: *
5: * See the file LICENSE for copying permission.
6: */
7: namespace pgn\tags;
8:
9: use utils\Parser;
10:
11: /**
12: * Description of EventSponsor:
13: * This uses a string value giving the name of the sponsor of the event.
14: *
15: * @see pgn_standard.txt
16: * @author Geraldo
17: */
18: class EventSponsor extends White {
19:
20: /**
21: *
22: * @assert () === "EventSponsor"
23: * @return string EventSponsor
24: */
25: public function getName() {
26: $parsed = Parser::parseClassName(get_class());
27: return $parsed['className'];
28: }
29:
30: }
31: