Commit 6051253e by Alexander Kochetov

BaseArrayHelper updated

parent a766a000
...@@ -33,7 +33,7 @@ class BaseArrayHelper ...@@ -33,7 +33,7 @@ class BaseArrayHelper
* 'id', * 'id',
* 'title', * 'title',
* // the key name in array result => property name * // the key name in array result => property name
* 'createTime' => 'create_time', * 'createTime' => 'created_at',
* // the key name in array result => anonymous function * // the key name in array result => anonymous function
* 'length' => function ($post) { * 'length' => function ($post) {
* return strlen($post->content); * return strlen($post->content);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment