Skip to content
  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in
Logo1

hfpp2012 / vbot

Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • vbot
  • src
  • Support
  • ObjectAble.php
  • HanSon's avatar
    完成发送图片,修改撤回 · 46ac3d11
    HanSon committed Jan 13, 2017
    46ac3d11 Browse Files
ObjectAble.php 249 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php
/**
 * Created by PhpStorm.
 * User: HanSon
 * Date: 2017/1/13
 * Time: 17:23
 */

namespace Hanson\Robot\Support;


trait ObjectAble
{

    public function toObject(Array $array)
    {
        return json_decode(json_encode($array));
    }

}