2017 © Pedro PelĂĄez
 

library collection-type

The library Collection/Map and subtypes with checking the types for PHP

image

mparulski/collection-type

The library Collection/Map and subtypes with checking the types for PHP

  • Wednesday, June 24, 2015
  • by mparulski
  • Repository
  • 1 Watchers
  • 4 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

# CollectionType

License Latest Stable Version Total Downloads, (*1)

CollectionType is a library that provides Collection and Map with their subtypes which are checking types of data set for PHP., (*2)

## Requirements

  • PHP 5.5.0 or higher

## Installation

CollectionType officially supports only installation through Composer. For Composer documentation, please refer to getcomposer.org., (*3)

Install the module:, (*4)

$ php composer.phar require mparulski/collection-type:0.*

## Example:

use CollectionType\Collection\CollectionSet\HashSet;
use CollectionType\TypeValidator\ObjectTypeValidator;

$set = new HashSet(new IntegerTypeValidator());

$set->add(1);
$set->add(5);

// throw exception
$set->add(7.2);

## Documentation

Documentation is available in the /docs folder., (*5)

LICENSE

Copyright (c) 2015 MichaƂ Parulski http://opensource.org/licenses/MIT, (*6)

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE., (*7)

This software consists of voluntary contributions made by many individuals and is licensed under the MIT license., (*8)

The Versions

24/06 2015

dev-master

9999999-dev https://github.com/mparulski/collection-type

The library Collection/Map and subtypes with checking the types for PHP

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by MichaƂ Parulski

php collection type map

20/06 2015

v0.5.0

0.5.0.0 https://github.com/mparulski/collection-type

The library Collection/Map and subtypes with checking the types for PHP

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by MichaƂ Parulski

php collection type map

06/05 2015

0.4.0

0.4.0.0 https://github.com/mparulski/collection-type

The library Collection/Map and subtypes with checking the types for PHP

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by MichaƂ Parulski

php collection type map

04/04 2015

0.1.0

0.1.0.0 https://github.com/mparulski/collection-type

The library Collection/Map and subtypes with checking the types for PHP

  Sources   Download

MIT

The Requires

  • php >=5.5.0

 

by MichaƂ Parulski

php collection type map