1.0.0
1.0.0.0A marshal for your entity
MIT
The Requires
- php >=5.3.3
The Development Requires
by Merten van Gerven
php entitymarshal php entitymarshal
Wallogit.com
2017 © Pedro Peláez
All for Entity, and Entity for all
All for Entity, and Entity for all., (*1)
More documentation coming soon., (*2)
See fixtures/* for other examples. The most complete of these being MortadellaEntity., (*3)
class MyEntity extends \Entity\Entity { /** * @var boolean Alias of bool */ public $testBoolean = true; /** * @var integer Alias of int */ public $testInteger = 12345; /** * @var string */ public $testString = "test string"; /** * @var mixed */ public $testMixed ; /** * @var array */ public $testArray = array('1', '2', '3'); /** * @var Entity\Sample\ObjectPropertyEntityMarshal[] */ public $testTypedArray1; /** * @var array<Entity\Sample\ObjectPropertyEntityMarshal> */ public $testTypedArray2; /** * @var integer[] */ public $testTypedArray4; }
A marshal for your entity
MIT
php entitymarshal php entitymarshal