helionogueir / typeboxing
Specific data types and tools for hitting type
v1.1.0
2016-12-09 18:20 UTC
Requires
- php: >=7.0
This package is not auto-updated.
Last update: 2024-12-16 15:08:01 UTC
README
Specific data types and tools for hitting type.
Installation
Composer (https://getcomposer.org/) and (https://packagist.org/)
composer require helionogueir/typeboxing
Usage
helionogueir\typeBoxing\parse\ObjectToArray
Parse object to array
use stdClass; use helionogueir\typeBoxing\parse\ObjectToArray; $Object = new stdClass(); $Object->d1 = new stdClass(); $Object->d1->d2 = null; $array = (new ObjectToArray())->parse($Object);
TDD (Test Driven Development)
PHPUnit (https://phpunit.de/)
phpunit -c ./typeboxing/tests/unit.xml