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 PlyCount:
13: * This tag takes a single integer that gives the number of ply (moves) in the
14: * game.
15: * @see pgn_standard.txt
16: * @author Geraldo
17: */
18: class PlyCount extends Board {
19:
20: /**
21: * @assert () == 'PlyCount'
22: * @return string
23: */
24: public function getName() {
25: $parsed = Parser::parseClassName(get_class());
26: return $parsed['className'];
27: }
28:
29: }
30: