Consolidate namespaces
This commit is contained in:
parent
b39a482136
commit
9266905a2b
|
@ -24,7 +24,7 @@ namespace OCC\Basics\DataStructures;
|
||||||
|
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use SplDoublyLinkedList;
|
use SplDoublyLinkedList;
|
||||||
use OCC\Basics\Traits\Getter;
|
use OCC\Basics\Trait\Getter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A type-sensitive, taversable List.
|
* A type-sensitive, taversable List.
|
||||||
|
@ -44,8 +44,7 @@ class StrictList extends SplDoublyLinkedList
|
||||||
/**
|
/**
|
||||||
* Defines the allowed types for items.
|
* Defines the allowed types for items.
|
||||||
*
|
*
|
||||||
* If empty, all types are allowed.
|
* If empty, all types are allowed. Possible values are:
|
||||||
* Possible values are:
|
|
||||||
* - "array"
|
* - "array"
|
||||||
* - "bool"
|
* - "bool"
|
||||||
* - "callable"
|
* - "callable"
|
||||||
|
@ -59,6 +58,7 @@ class StrictList extends SplDoublyLinkedList
|
||||||
* - "resource"
|
* - "resource"
|
||||||
* - "scalar"
|
* - "scalar"
|
||||||
* - "string"
|
* - "string"
|
||||||
|
*
|
||||||
* Fully qualified class names (FQCN) can be specified instead of the
|
* Fully qualified class names (FQCN) can be specified instead of the
|
||||||
* generic type "object".
|
* generic type "object".
|
||||||
*/
|
*/
|
||||||
|
@ -141,7 +141,7 @@ class StrictList extends SplDoublyLinkedList
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Magic getter method for $this->allowedTypes.
|
* Magic getter method for $this->allowedTypes.
|
||||||
* @see OCC\Basics\Traits\Getter
|
* @see OCC\Basics\Trait\Getter
|
||||||
*
|
*
|
||||||
* @return array The list of allowed item types
|
* @return array The list of allowed item types
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -20,14 +20,14 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace OCC\Basics\Functions;
|
namespace OCC\Basics\HelperFunction;
|
||||||
|
|
||||||
use ErrorException;
|
use ErrorException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts an internal PHP error into an ErrorException.
|
* Converts an internal PHP error into an ErrorException.
|
||||||
*
|
*
|
||||||
* Usage: set_error_handler('\\OCC\\Basics\\Functions\\throwErrorException');
|
* Usage: set_error_handler('\\OCC\\Basics\\HelperFunction\\throwErrorException');
|
||||||
*
|
*
|
||||||
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
|
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
|
||||||
* @package opencultureconsulting/basics
|
* @package opencultureconsulting/basics
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace OCC\Basics\Traits;
|
namespace OCC\Basics\InterfaceTrait;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A generic implementation of the ArrayAccess interface.
|
* A generic implementation of the ArrayAccess interface.
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace OCC\Basics\Traits;
|
namespace OCC\Basics\InterfaceTrait;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A generic implementation of the Countable interface.
|
* A generic implementation of the Countable interface.
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace OCC\Basics\Traits;
|
namespace OCC\Basics\InterfaceTrait;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A generic implementation of the Iterator interface.
|
* A generic implementation of the Iterator interface.
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace OCC\Basics\Traits;
|
namespace OCC\Basics\InterfaceTrait;
|
||||||
|
|
||||||
use ArrayIterator;
|
use ArrayIterator;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace OCC\Basics\Traits;
|
namespace OCC\Basics\Trait;
|
||||||
|
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace OCC\Basics\Traits;
|
namespace OCC\Basics\Trait;
|
||||||
|
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace OCC\Basics\Traits;
|
namespace OCC\Basics\Trait;
|
||||||
|
|
||||||
use LogicException;
|
use LogicException;
|
||||||
|
|
Loading…
Reference in New Issue