2017 © Pedro Peláez
 

library identifier

Id abstraction class

image

kaihempel/identifier

Id abstraction class

  • Sunday, April 3, 2016
  • by kaihempel
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

identifier

PHP ID abstraction bundle, (*1)

Build Status Scrutinizer Code Quality Code Coverage, (*2)

For easy ID handling inside other projects., (*3)

Installing Identifier via Composer., (*4)

   "require": {
     "kaihempel/identifier": "1.0.*"
   }

Using the identifier object instead simple integer variables., (*5)

   $id = new Identifier(1);
   if($id->is(1)) // true
   if($id->is(2)) // false

Use type hinting on method or function signatures to avoid a huge number of numeric checks., (*6)

   ...
   public function load(Identifier $id)
   {
   ...
   }
   ...

The Versions

03/04 2016

dev-master

9999999-dev https://www.kuweh.de/

Id abstraction class

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by Kai Hempel

id handling

03/04 2016

1.0.0

1.0.0.0 https://www.kuweh.de/

Id abstraction class

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by Kai Hempel

id handling

03/04 2016

0.0.1

0.0.1.0 https://www.kuweh.de/

Id abstraction class

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by Kai Hempel

id handling