library identity
Library of classes that encapsulates identity concepts.
star/identity
Library of classes that encapsulates identity concepts.
- Wednesday, April 26, 2017
- by yvoyer
- Repository
- 1 Watchers
- 0 Stars
- 693 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 3 Open issues
- 4 Versions
- 4 % Grown
Identity package
, (*1)
Description
This package defines an interface Star\Component\Identity\Identity
to mark your object as entity., (*2)
It also includes some default implementations., (*3)
Usage
Installation
Run composer require star/identity
using composer., (*4)
Identities
$integer = new IntegerId(4);
$string = new StringId('something');
$composite = new CompositeIdentity($integer, $string);
$integer->toString(); // return '4'
$string->toString(); // return 'something'
$composite->toString(); // return '4 something'
Exception
We also provide exception that comes bundled with messages for your identity., (*5)
dev-master
9999999-dev
Library of classes that encapsulates identity concepts.
Sources
Download
MIT
The Requires
The Development Requires
1.2.0
1.2.0.0
Library of classes that encapsulates identity concepts.
Sources
Download
MIT
The Requires
The Development Requires
1.1.0
1.1.0.0
Library of classes that encapsulates identity concepts.
Sources
Download
MIT
The Requires
The Development Requires
1.0.0
1.0.0.0
Library of classes that encapsulates identity concepts.
Sources
Download
MIT
The Requires
The Development Requires