Change namespace for interface traits
This commit is contained in:
parent
a5c573380c
commit
c0e8a2b59a
|
@ -10,11 +10,12 @@
|
|||
|
||||
<p class="phpdocumentor-summary">A collection of generic classes and useful traits for PHP projects.</p>
|
||||
|
||||
<p>The package currently contains classes for <a href="packages/Basics-DataStructures.html">type-sensitive data
|
||||
structures</a>, <a href="packages/Basics-ErrorHandlers.html">error and exception handlers</a>, multiple
|
||||
<a href="packages/Basics-InterfaceTraits.html">traits implementing standard interfaces</a>, and more generic
|
||||
<a href="packages/Basics-Traits.html">traits for common use cases</a>. They share the same design principles like
|
||||
property and method naming schema, highest <a href="https://psalm.dev/">Psalm</a> and <a href="https://phpstan.org/">PHPStan</a> coding standards and full <a href="https://www.php-fig.org/psr/psr-12/">PSR-12</a>
|
||||
<p>The package currently contains classes for <a href="packages/Basics-DataStructures.html">type-sensitive
|
||||
data structures</a>, <a href="packages/Basics-ErrorHandlers.html">error and exception handlers</a>, multiple
|
||||
<a href="packages/Basics-Interfaces.html">traits implementing standard interfaces</a>, and more generic
|
||||
<a href="packages/Basics-Traits.html">traits for common use cases</a>. They share the same design principles
|
||||
like property and method naming schema, highest coding standards of <a href="https://phpstan.org/">PHPStan</a>
|
||||
and <a href="https://psalm.dev/">Psalm</a>, and full <a href="https://www.php-fig.org/psr/psr-12/">PSR-12</a>
|
||||
compliance to make sure they can be combined and easily re-used in other projects.</p>
|
||||
|
||||
<h3 id="toc">Table of Contents</h3>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
***A collection of generic classes and useful traits for PHP projects.***
|
||||
|
||||
The package currently contains classes for [type-sensitive data structures](src/DataStructures/), [error and exception handlers](src/ErrorHandlers/), multiple [traits implementing standard interfaces](src/InterfaceTraits/), and more generic [traits for common use cases](src/Traits/). They share the same design principles like property and method naming schema, highest [Psalm](https://psalm.dev/) and [PHPStan](https://phpstan.org/) coding standards and full [PSR-12](https://www.php-fig.org/psr/psr-12/) compliance to make sure they can be combined and easily re-used in other projects.
|
||||
The package currently contains classes for [type-sensitive data structures](src/DataStructures/), [error and exception handlers](src/ErrorHandlers/), multiple [traits implementing standard interfaces](src/Interfaces/), and more generic [traits for common use cases](src/Traits/). They share the same design principles like property and method naming schema, highest [Psalm](https://psalm.dev/) and [PHPStan](https://phpstan.org/) coding standards and full [PSR-12](https://www.php-fig.org/psr/psr-12/) compliance to make sure they can be combined and easily re-used in other projects.
|
||||
|
||||
## Quick Start
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\InterfaceTraits;
|
||||
namespace OCC\Basics\Interfaces;
|
||||
|
||||
use ArrayAccess;
|
||||
|
||||
|
@ -31,7 +31,7 @@ use ArrayAccess;
|
|||
* Internally it accesses the protected `$_data` array.
|
||||
*
|
||||
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
|
||||
* @package Basics\InterfaceTraits
|
||||
* @package Basics\Interfaces
|
||||
*
|
||||
* @api
|
||||
*
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\InterfaceTraits;
|
||||
namespace OCC\Basics\Interfaces;
|
||||
|
||||
use Countable;
|
||||
|
||||
|
@ -31,7 +31,7 @@ use Countable;
|
|||
* Internally it counts the values of the protected `$_data` array.
|
||||
*
|
||||
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
|
||||
* @package Basics\InterfaceTraits
|
||||
* @package Basics\Interfaces
|
||||
*
|
||||
* @api
|
||||
*
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\InterfaceTraits;
|
||||
namespace OCC\Basics\Interfaces;
|
||||
|
||||
use ArrayIterator;
|
||||
use IteratorAggregate;
|
||||
|
@ -32,7 +32,7 @@ use IteratorAggregate;
|
|||
* Internally it iterates over the protected `$_data` array.
|
||||
*
|
||||
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
|
||||
* @package Basics\InterfaceTraits
|
||||
* @package Basics\Interfaces
|
||||
*
|
||||
* @api
|
||||
*
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\InterfaceTraits;
|
||||
namespace OCC\Basics\Interfaces;
|
||||
|
||||
use Iterator;
|
||||
|
||||
|
@ -31,7 +31,7 @@ use Iterator;
|
|||
* Internally it iterates over the protected `$_data` array.
|
||||
*
|
||||
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
|
||||
* @package Basics\InterfaceTraits
|
||||
* @package Basics\Interfaces
|
||||
*
|
||||
* @api
|
||||
*
|
Loading…
Reference in New Issue