1 <?php
2
3 /* --------------------------------------------------------------
4 EmptyLanguageCode.php 2015-10-28
5 Gambio GmbH
6 http://www.gambio.de
7 Copyright (c) 2015 Gambio GmbH
8 Released under the GNU General Public License (Version 2)
9 [http://www.gnu.org/licenses/gpl-2.0.html]
10 --------------------------------------------------------------
11 */
12
13 /**
14 * EmptyLanguageCode
15 *
16 * The purpose of this class is to return an empty string
17 * as representation of a empty language code value.
18 *
19 * @category System
20 * @package Shared
21 */
22 class EmptyLanguageCode extends LanguageCode
23 {
24 /**
25 * Override constructor, as no argument are passed, and therefore
26 * no validation is needed in this class.
27 */
28 public function __construct()
29 {
30 }
31
32
33 public function __toString()
34 {
35 return '';
36 }
37 }