@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHP: Nelson Martell Library file |
|
| 4 | - * |
|
| 5 | - * Content: |
|
| 6 | - * - Trait definition: [NelsonMartell\Collections] CollectionIterator |
|
| 7 | - * - Class definition: [NelsonMartell\Collections] Collection |
|
| 8 | - * |
|
| 9 | - * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 10 | - * |
|
| 11 | - * Licensed under The MIT License (MIT) |
|
| 12 | - * For full copyright and license information, please see the LICENSE |
|
| 13 | - * Redistributions of files must retain the above copyright notice. |
|
| 14 | - * |
|
| 15 | - * @copyright 2015-2016 Nelson Martell |
|
| 16 | - * @link http://nelson6e65.github.io/php_nml/ |
|
| 17 | - * @since v0.4.0 |
|
| 18 | - * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 19 | - * */ |
|
| 3 | + * PHP: Nelson Martell Library file |
|
| 4 | + * |
|
| 5 | + * Content: |
|
| 6 | + * - Trait definition: [NelsonMartell\Collections] CollectionIterator |
|
| 7 | + * - Class definition: [NelsonMartell\Collections] Collection |
|
| 8 | + * |
|
| 9 | + * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 10 | + * |
|
| 11 | + * Licensed under The MIT License (MIT) |
|
| 12 | + * For full copyright and license information, please see the LICENSE |
|
| 13 | + * Redistributions of files must retain the above copyright notice. |
|
| 14 | + * |
|
| 15 | + * @copyright 2015-2016 Nelson Martell |
|
| 16 | + * @link http://nelson6e65.github.io/php_nml/ |
|
| 17 | + * @since v0.4.0 |
|
| 18 | + * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 19 | + * */ |
|
| 20 | 20 | |
| 21 | 21 | namespace NelsonMartell\Collections { |
| 22 | 22 | |
@@ -1,21 +1,21 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHP: Nelson Martell Library file |
|
| 4 | - * |
|
| 5 | - * Content: |
|
| 6 | - * - Class definition: [NelsonMartell] Version |
|
| 7 | - * |
|
| 8 | - * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 9 | - * |
|
| 10 | - * Licensed under The MIT License (MIT) |
|
| 11 | - * For full copyright and license information, please see the LICENSE |
|
| 12 | - * Redistributions of files must retain the above copyright notice. |
|
| 13 | - * |
|
| 14 | - * @copyright 2015-2016 Nelson Martell |
|
| 15 | - * @link http://nelson6e65.github.io/php_nml/ |
|
| 16 | - * @since v0.1.1 |
|
| 17 | - * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 18 | - * */ |
|
| 3 | + * PHP: Nelson Martell Library file |
|
| 4 | + * |
|
| 5 | + * Content: |
|
| 6 | + * - Class definition: [NelsonMartell] Version |
|
| 7 | + * |
|
| 8 | + * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 9 | + * |
|
| 10 | + * Licensed under The MIT License (MIT) |
|
| 11 | + * For full copyright and license information, please see the LICENSE |
|
| 12 | + * Redistributions of files must retain the above copyright notice. |
|
| 13 | + * |
|
| 14 | + * @copyright 2015-2016 Nelson Martell |
|
| 15 | + * @link http://nelson6e65.github.io/php_nml/ |
|
| 16 | + * @since v0.1.1 |
|
| 17 | + * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 18 | + * */ |
|
| 19 | 19 | |
| 20 | 20 | namespace NelsonMartell { |
| 21 | 21 | |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHP: Nelson Martell Library file |
|
| 4 | - * |
|
| 5 | - * Content: |
|
| 6 | - * - File to perform manual autoload. For non composer instalation, must be |
|
| 7 | - * required at app initialization. |
|
| 8 | - * |
|
| 9 | - * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 10 | - * |
|
| 11 | - * Licensed under The MIT License (MIT) |
|
| 12 | - * For full copyright and license information, please see the LICENSE |
|
| 13 | - * Redistributions of files must retain the above copyright notice. |
|
| 14 | - * |
|
| 15 | - * @copyright 2015-2016 Nelson Martell |
|
| 16 | - * @link http://nelson6e65.github.io/php_nml/ |
|
| 17 | - * @since v0.3.0 |
|
| 18 | - * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 19 | - * */ |
|
| 3 | + * PHP: Nelson Martell Library file |
|
| 4 | + * |
|
| 5 | + * Content: |
|
| 6 | + * - File to perform manual autoload. For non composer instalation, must be |
|
| 7 | + * required at app initialization. |
|
| 8 | + * |
|
| 9 | + * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 10 | + * |
|
| 11 | + * Licensed under The MIT License (MIT) |
|
| 12 | + * For full copyright and license information, please see the LICENSE |
|
| 13 | + * Redistributions of files must retain the above copyright notice. |
|
| 14 | + * |
|
| 15 | + * @copyright 2015-2016 Nelson Martell |
|
| 16 | + * @link http://nelson6e65.github.io/php_nml/ |
|
| 17 | + * @since v0.3.0 |
|
| 18 | + * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 19 | + * */ |
|
| 20 | 20 | |
| 21 | 21 | require_once __DIR__.DIRECTORY_SEPARATOR.'src'.DIRECTORY_SEPARATOR.'constants.php'; |
| 22 | 22 | require_once __DIR__.DIRECTORY_SEPARATOR.'src'.DIRECTORY_SEPARATOR.'deprecated_functions.php'; |
@@ -144,8 +144,8 @@ discard block |
||
| 144 | 144 | |
| 145 | 145 | if (property_exists($this, $name) === false) { |
| 146 | 146 | $args = [ |
| 147 | - 'class' => typeof($this)->Name, |
|
| 148 | - 'property' => $name, |
|
| 147 | + 'class' => typeof($this)->Name, |
|
| 148 | + 'property' => $name, |
|
| 149 | 149 | ]; |
| 150 | 150 | |
| 151 | 151 | $msg = nml_msg('Property "{class}::{property}" do not exists.', $args); |
@@ -176,8 +176,8 @@ discard block |
||
| 176 | 176 | |
| 177 | 177 | if (method_exists($this, $name) === false) { |
| 178 | 178 | $args = [ |
| 179 | - 'class' => typeof($this)->Name, |
|
| 180 | - 'method' => $name, |
|
| 179 | + 'class' => typeof($this)->Name, |
|
| 180 | + 'method' => $name, |
|
| 181 | 181 | ]; |
| 182 | 182 | |
| 183 | 183 | $msg = nml_msg('Method "{class}::{method}" do not exists.', $args); |
@@ -206,8 +206,8 @@ discard block |
||
| 206 | 206 | $setter = $this->ensureMethodExists($setter); |
| 207 | 207 | } catch (BadMethodCallException $error) { |
| 208 | 208 | $args = [ |
| 209 | - 'class' => typeof($this)->Name, |
|
| 210 | - 'name' => $name, |
|
| 209 | + 'class' => typeof($this)->Name, |
|
| 210 | + 'name' => $name, |
|
| 211 | 211 | ]; |
| 212 | 212 | |
| 213 | 213 | $msg = nml_msg('Property "{class}::{name}" has not a setter.', $args); |
@@ -236,8 +236,8 @@ discard block |
||
| 236 | 236 | $getter = $this->ensureMethodExists($getter); |
| 237 | 237 | } catch (BadMethodCallException $error) { |
| 238 | 238 | $args = [ |
| 239 | - 'class' => typeof($this)->Name, |
|
| 240 | - 'name' => $name, |
|
| 239 | + 'class' => typeof($this)->Name, |
|
| 240 | + 'name' => $name, |
|
| 241 | 241 | ]; |
| 242 | 242 | |
| 243 | 243 | $msg = nml_msg('Property "{class}::{name}" has not a getter.', $args); |
@@ -1,22 +1,22 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHP: Nelson Martell Library file |
|
| 4 | - * |
|
| 5 | - * Content: |
|
| 6 | - * - Trait definition: [NelsonMartell\Collections] CollectionIterator |
|
| 7 | - * - Class definition: [NelsonMartell\Collections] Collection |
|
| 8 | - * |
|
| 9 | - * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 10 | - * |
|
| 11 | - * Licensed under The MIT License (MIT) |
|
| 12 | - * For full copyright and license information, please see the LICENSE |
|
| 13 | - * Redistributions of files must retain the above copyright notice. |
|
| 14 | - * |
|
| 15 | - * @copyright 2015-2016 Nelson Martell |
|
| 16 | - * @link http://nelson6e65.github.io/php_nml/ |
|
| 17 | - * @since v0.4.0 |
|
| 18 | - * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 19 | - * */ |
|
| 3 | + * PHP: Nelson Martell Library file |
|
| 4 | + * |
|
| 5 | + * Content: |
|
| 6 | + * - Trait definition: [NelsonMartell\Collections] CollectionIterator |
|
| 7 | + * - Class definition: [NelsonMartell\Collections] Collection |
|
| 8 | + * |
|
| 9 | + * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 10 | + * |
|
| 11 | + * Licensed under The MIT License (MIT) |
|
| 12 | + * For full copyright and license information, please see the LICENSE |
|
| 13 | + * Redistributions of files must retain the above copyright notice. |
|
| 14 | + * |
|
| 15 | + * @copyright 2015-2016 Nelson Martell |
|
| 16 | + * @link http://nelson6e65.github.io/php_nml/ |
|
| 17 | + * @since v0.4.0 |
|
| 18 | + * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 19 | + * */ |
|
| 20 | 20 | |
| 21 | 21 | namespace NelsonMartell\Collections { |
| 22 | 22 | |
@@ -1,21 +1,21 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHP: Nelson Martell Library file |
|
| 4 | - * |
|
| 5 | - * Content: |
|
| 6 | - * - Class definition: [NelsonMartell] Object |
|
| 7 | - * |
|
| 8 | - * Copyright © 2014-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 9 | - * |
|
| 10 | - * Licensed under The MIT License (MIT) |
|
| 11 | - * For full copyright and license information, please see the LICENSE |
|
| 12 | - * Redistributions of files must retain the above copyright notice. |
|
| 13 | - * |
|
| 14 | - * @copyright 2014-2016 Nelson Martell |
|
| 15 | - * @link http://nelson6e65.github.io/php_nml/ |
|
| 16 | - * @since v0.1.1 |
|
| 17 | - * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 18 | - * */ |
|
| 3 | + * PHP: Nelson Martell Library file |
|
| 4 | + * |
|
| 5 | + * Content: |
|
| 6 | + * - Class definition: [NelsonMartell] Object |
|
| 7 | + * |
|
| 8 | + * Copyright © 2014-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 9 | + * |
|
| 10 | + * Licensed under The MIT License (MIT) |
|
| 11 | + * For full copyright and license information, please see the LICENSE |
|
| 12 | + * Redistributions of files must retain the above copyright notice. |
|
| 13 | + * |
|
| 14 | + * @copyright 2014-2016 Nelson Martell |
|
| 15 | + * @link http://nelson6e65.github.io/php_nml/ |
|
| 16 | + * @since v0.1.1 |
|
| 17 | + * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 18 | + * */ |
|
| 19 | 19 | |
| 20 | 20 | namespace NelsonMartell { |
| 21 | 21 | |
@@ -1,21 +1,21 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * PHP: Nelson Martell Library file |
|
| 4 | - * |
|
| 5 | - * Content: |
|
| 6 | - * - Global constants definitions. |
|
| 7 | - * |
|
| 8 | - * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 9 | - * |
|
| 10 | - * Licensed under The MIT License (MIT) |
|
| 11 | - * For full copyright and license information, please see the LICENSE |
|
| 12 | - * Redistributions of files must retain the above copyright notice. |
|
| 13 | - * |
|
| 14 | - * @copyright 2015-2016 Nelson Martell |
|
| 15 | - * @link http://nelson6e65.github.io/php_nml/ |
|
| 16 | - * @since v0.5.0 |
|
| 17 | - * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 18 | - * */ |
|
| 3 | + * PHP: Nelson Martell Library file |
|
| 4 | + * |
|
| 5 | + * Content: |
|
| 6 | + * - Global constants definitions. |
|
| 7 | + * |
|
| 8 | + * Copyright © 2015-2016 Nelson Martell (http://nelson6e65.github.io) |
|
| 9 | + * |
|
| 10 | + * Licensed under The MIT License (MIT) |
|
| 11 | + * For full copyright and license information, please see the LICENSE |
|
| 12 | + * Redistributions of files must retain the above copyright notice. |
|
| 13 | + * |
|
| 14 | + * @copyright 2015-2016 Nelson Martell |
|
| 15 | + * @link http://nelson6e65.github.io/php_nml/ |
|
| 16 | + * @since v0.5.0 |
|
| 17 | + * @license http://www.opensource.org/licenses/mit-license.php The MIT License (MIT) |
|
| 18 | + * */ |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Gettext domain for NML messages. |