codeblanche/entity
Composer 安装命令:
composer require codeblanche/entity
包简介
All for Entity, and Entity for all
README 文档
README
All for Entity, and Entity for all.
More documentation coming soon.
Example
See fixtures/* for other examples. The most complete of these being MortadellaEntity.
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; }
统计信息
- 总下载量: 135
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2013-06-12