2017 © Pedro Peláez
 

library model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

image

aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  • Sunday, June 21, 2015
  • by aedart
  • Repository
  • 0 Watchers
  • 0 Stars
  • 37 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Model-Uuid

Getter and Setter package for Universally unique identifier (UUID), (*1)

This package is part of the Aedart\Model namespace; visit https://bitbucket.org/aedart/model to learn more about the project., (*2)

Official sub-package website (https://bitbucket.org/aedart/model-uuid), (*3)

Contents

[TOC], (*4)

When to use this

When your component(s) need to be aware of a Universally unique identifier (UUID)., (*5)

How to install

#!console

composer require aedart/model-uuid 1.*

This package uses composer. If you do not know what that is or how it works, I recommend that you read a little about, before attempting to use this package., (*6)

Quick start

Provided that you have an interface, e.g. for a book, you can extend the Uuid-Aware interface;, (*7)

#!php
<?php
use Aedart\Model\Uuid\Interfaces\UuidAware;

interface IBook extends UuidAware {

    // ... Remaining interface implementation not shown ...

}

In your concrete implementation, you simple use the uuid-trait;, (*8)

#!php
<?php
use Aedart\Model\Uuid\Traits\UuidTrait;

class MyBook implements IBook {

    use UuidTrait;

    // ... Remaining implementation not shown ... 

}

My Id is the same as a UUID

If your "id" property is the same as a UUID, you should take a look at the Aedart\Model\Uuid\Traits\IdTrait, which provides implementation based upon the IdAware interface. For further information, please review the documentation for the included Aedart\Model\Id package, found at https://bitbucket.org/aedart/model-id, (*9)

Acknowledgement

This package would not had been possible to make (at least not for me), without Ben Ramsey's Rhumsaa\Uuid package; https://packagist.org/packages/rhumsaa/uuid, (*10)

License

BSD-3-Clause, Read the LICENSE file included in this package, (*11)

The Versions

21/06 2015

dev-master

9999999-dev https://bitbucket.org/aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alin Eugen Deac

uuid identifier getter setter property universally unique identifier

21/06 2015

1.3.0

1.3.0.0 https://bitbucket.org/aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alin Eugen Deac

uuid identifier getter setter property universally unique identifier

29/04 2015

1.2.0

1.2.0.0 https://bitbucket.org/aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alin Eugen Deac

uuid identifier getter setter property universally unique identifier

25/04 2015

1.1.2

1.1.2.0 https://bitbucket.org/aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alin Eugen Deac

uuid identifier getter setter property universally unique identifier

03/04 2015

1.1.1

1.1.1.0 https://bitbucket.org/aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alin Eugen Deac

uuid identifier getter setter property universally unique identifier

29/03 2015

1.1.0

1.1.0.0 https://bitbucket.org/aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alin Eugen Deac

uuid identifier getter setter property universally unique identifier

06/02 2015

1.0.2

1.0.2.0 https://bitbucket.org/aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alin Eugen Deac

uuid identifier getter setter property universally unique identifier

06/02 2015

1.0.1

1.0.1.0 https://bitbucket.org/aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alin Eugen Deac

uuid identifier getter setter property universally unique identifier

06/02 2015

1.0.0

1.0.0.0 https://bitbucket.org/aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alin Eugen Deac

uuid identifier getter setter property universally unique identifier

06/02 2015

0.9.0

0.9.0.0 https://bitbucket.org/aedart/model-uuid

Getter and Setter package for Universally unique identifier (UUID). This package is part of the 'Aedart\Model' namespace; visit https://bitbucket.org/aedart/model to learn more about the project. Official sub-package website (https://bitbucket.org/aedart/model-uuid).

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Alin Eugen Deac

uuid identifier getter setter property universally unique identifier