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 BlackElo:
13: * 9.1.2: Tags: WhiteElo, BlackElo
14: * These tags use integer values; these are used for FIDE Elo ratings. A value of
15: * "-" is used for an unrated player.
16: * @see pgn_standard.txt
17: * @author Geraldo
18: */
19: class BlackElo extends WhiteElo {
20:
21: /**
22: * @assert () == "BlackElo"
23: * @return string
24: */
25: public function getName() {
26: $parsed = Parser::parseClassName(get_class());
27: return $parsed['className'];
28: }
29: }
30: