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