Change namespace for interface traits

This commit is contained in:
Sebastian Meyer 2024-02-12 17:20:12 +01:00
parent a5c573380c
commit c0e8a2b59a
6 changed files with 15 additions and 14 deletions

View File

@ -10,11 +10,12 @@
<p class="phpdocumentor-summary">A collection of generic classes and useful traits for PHP projects.</p> <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 <p>The package currently contains classes for <a href="packages/Basics-DataStructures.html">type-sensitive
structures</a>, <a href="packages/Basics-ErrorHandlers.html">error and exception handlers</a>, multiple 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-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 <a href="packages/Basics-Traits.html">traits for common use cases</a>. They share the same design principles
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> 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> compliance to make sure they can be combined and easily re-used in other projects.</p>
<h3 id="toc">Table of Contents</h3> <h3 id="toc">Table of Contents</h3>

View File

@ -2,7 +2,7 @@
***A collection of generic classes and useful traits for PHP projects.*** ***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 ## Quick Start

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\InterfaceTraits; namespace OCC\Basics\Interfaces;
use ArrayAccess; use ArrayAccess;
@ -31,7 +31,7 @@ use ArrayAccess;
* Internally it accesses the protected `$_data` array. * Internally it accesses the protected `$_data` array.
* *
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com> * @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
* @package Basics\InterfaceTraits * @package Basics\Interfaces
* *
* @api * @api
* *

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\InterfaceTraits; namespace OCC\Basics\Interfaces;
use Countable; use Countable;
@ -31,7 +31,7 @@ use Countable;
* Internally it counts the values of the protected `$_data` array. * Internally it counts the values of the protected `$_data` array.
* *
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com> * @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
* @package Basics\InterfaceTraits * @package Basics\Interfaces
* *
* @api * @api
* *

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\InterfaceTraits; namespace OCC\Basics\Interfaces;
use ArrayIterator; use ArrayIterator;
use IteratorAggregate; use IteratorAggregate;
@ -32,7 +32,7 @@ use IteratorAggregate;
* Internally it iterates over the protected `$_data` array. * Internally it iterates over the protected `$_data` array.
* *
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com> * @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
* @package Basics\InterfaceTraits * @package Basics\Interfaces
* *
* @api * @api
* *

View File

@ -21,7 +21,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\InterfaceTraits; namespace OCC\Basics\Interfaces;
use Iterator; use Iterator;
@ -31,7 +31,7 @@ use Iterator;
* Internally it iterates over the protected `$_data` array. * Internally it iterates over the protected `$_data` array.
* *
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com> * @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
* @package Basics\InterfaceTraits * @package Basics\Interfaces
* *
* @api * @api
* *