File tree Expand file tree Collapse file tree 8 files changed +17
-17
lines changed Expand file tree Collapse file tree 8 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 9
9
/**
10
10
* Class to implement enumerations for PHP 5 (without SplEnum)
11
11
*
12
- * @link http://github.com/marc-mabe/php-enum for the canonical source repository
13
- * @copyright Copyright (c) 2017 Marc Bennewitz
12
+ * @copyright 2019 Marc Bennewitz
14
13
* @license http://github.com/marc-mabe/php-enum/blob/master/LICENSE.txt New BSD License
14
+ * @link http://github.com/marc-mabe/php-enum for the canonical source repository
15
15
*/
16
16
abstract class Enum
17
17
{
Original file line number Diff line number Diff line change 12
12
/**
13
13
* A map of enumerators (EnumMap<T>) and mixed values.
14
14
*
15
- * @link http://github.com/marc-mabe/php-enum for the canonical source repository
16
- * @copyright Copyright (c) 2017 Marc Bennewitz
15
+ * @copyright 2019 Marc Bennewitz
17
16
* @license http://github.com/marc-mabe/php-enum/blob/master/LICENSE.txt New BSD License
17
+ * @link http://github.com/marc-mabe/php-enum for the canonical source repository
18
18
*/
19
19
class EnumMap implements ArrayAccess, Countable, SeekableIterator
20
20
{
Original file line number Diff line number Diff line change 13
13
* Please note that this feature breaks singleton behaviour of your enumerations
14
14
* if an enumeration will be unserialized after it was instantiated already.
15
15
*
16
- * @link https://github.com/marc-mabe/php-enum/issues/52 for further information about this feature
17
- * @link http://github.com/marc-mabe/php-enum for the canonical source repository
18
- * @copyright Copyright (c) 2017 Marc Bennewitz
16
+ * @copyright 2019 Marc Bennewitz
19
17
* @license http://github.com/marc-mabe/php-enum/blob/master/LICENSE.txt New BSD License
18
+ * @link http://github.com/marc-mabe/php-enum for the canonical source repository
19
+ * @link https://github.com/marc-mabe/php-enum/issues/52 for further information about this feature
20
20
*/
21
21
trait EnumSerializableTrait
22
22
{
Original file line number Diff line number Diff line change 10
10
* A set of enumerators of the given enumeration (EnumSet<T>)
11
11
* based on an integer or binary bitset depending of given enumeration size.
12
12
*
13
- * @link http://github.com/marc-mabe/php-enum for the canonical source repository
14
- * @copyright Copyright (c) 2017 Marc Bennewitz
13
+ * @copyright 2019 Marc Bennewitz
15
14
* @license http://github.com/marc-mabe/php-enum/blob/master/LICENSE.txt New BSD License
15
+ * @link http://github.com/marc-mabe/php-enum for the canonical source repository
16
16
*/
17
17
class EnumSet implements Iterator, Countable
18
18
{
Original file line number Diff line number Diff line change 13
13
/**
14
14
* Unit tests for the class MabeEnum\EnumMap
15
15
*
16
- * @link http://github.com/marc-mabe/php-enum for the canonical source repository
17
- * @copyright Copyright (c) 2017 Marc Bennewitz
16
+ * @copyright 2019 Marc Bennewitz
18
17
* @license http://github.com/marc-mabe/php-enum/blob/master/LICENSE.txt New BSD License
18
+ * @link http://github.com/marc-mabe/php-enum for the canonical source repository
19
19
*/
20
20
class EnumMapTest extends TestCase
21
21
{
Original file line number Diff line number Diff line change 12
12
/**
13
13
* Unit tests for the trait MabeEnum\EnumSerializableTrait
14
14
*
15
- * @link http://github.com/marc-mabe/php-enum for the canonical source repository
16
- * @copyright Copyright (c) 2017 Marc Bennewitz
15
+ * @copyright 2019 Marc Bennewitz
17
16
* @license http://github.com/marc-mabe/php-enum/blob/master/LICENSE.txt New BSD License
17
+ * @link http://github.com/marc-mabe/php-enum for the canonical source repository
18
18
*/
19
19
class EnumSerializableTraitTest extends TestCase
20
20
{
Original file line number Diff line number Diff line change 17
17
/**
18
18
* Unit tests for the class MabeEnum\EnumSet
19
19
*
20
- * @link http://github.com/marc-mabe/php-enum for the canonical source repository
21
- * @copyright Copyright (c) 2017 Marc Bennewitz
20
+ * @copyright 2019 Marc Bennewitz
22
21
* @license http://github.com/marc-mabe/php-enum/blob/master/LICENSE.txt New BSD License
22
+ * @link http://github.com/marc-mabe/php-enum for the canonical source repository
23
23
*/
24
24
class EnumSetTest extends TestCase
25
25
{
Original file line number Diff line number Diff line change 20
20
/**
21
21
* Unit tests for the class MabeEnum\Enum
22
22
*
23
- * @link http://github.com/marc-mabe/php-enum for the canonical source repository
24
- * @copyright Copyright (c) 2017 Marc Bennewitz
23
+ * @copyright 2019 Marc Bennewitz
25
24
* @license http://github.com/marc-mabe/php-enum/blob/master/LICENSE.txt New BSD License
25
+ * @link http://github.com/marc-mabe/php-enum for the canonical source repository
26
26
*/
27
27
class EnumTest extends TestCase
28
28
{
You can’t perform that action at this time.
0 commit comments