vgleb/object-array
最新稳定版本:v0.9.1
Composer 安装命令:
composer require vgleb/object-array
包简介
Object behavior for Array
关键字:
README 文档
README
Install
Install this package through Composer
$ composer require vgleb/object-array
Laravel 5 Implementation
Add a reference to LaravelObjectArrayServiceProvider to the providers array in config/app.php:
'providers' => [
'VGleb\ObjectArray\LaravelObjectArrayServiceProvider',
]
Then you can "make" (or inject) a ObjectArray instance anywhere in your app:
$oa = \App::make('VGleb\ObjectArray\ObjectArray', [$array]);
or
use VGleb\ObjectArray\ObjectArray;
Usage
$oa = new ObjectArray([ 'foo' => 'bar', 'oa' => new ObjectArray(['foo' => 'bar']), ]); echo $oa->foo; echo $oa->oa->foo;
Change log
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email i@h0n.ru instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-23