\Gini\Gapper\Client基本实现

![screen shot 2014-06-18 at 17 55 27](https://cloud.githubusercontent.com/assets/3204734/3312289/b431bfd6-f6cf-11e3-86a1-23ab004f1e0c.png)

![screen shot 2014-06-18 at 18 03 24](https://cloud.githubusercontent.com/assets/3204734/3312297/d5bf2800-f6cf-11e3-951d-00c753d8f399.png)

倒, 要么直接这个函数就叫getCurrentUserName()?

On Jun 19, 2014, at 17:00, Hongjie Zhu <notifications@github.com> wrote:

> In designs/index.md:
> 
> > +date: 2014-6-12
> > +---
> > +
> > +功能说明
> > +===
> > +
> > +Gapper Client为Gapper的第三方APP提供用户登录和验证机制
> > +
> > +#### 示例代码
> > +
> > +##### 默认可以不用登录
> > +
> > +    // 实例化gapper client
> > +    $client = \Gini\IoC::construct('\Gini\Gapper\Client');
> > +
> > +    $username = $client->username;
> 我觉得username看着就像是属性，就把userName()改成username属性了
> 
> —
> Reply to this email directly or view it on GitHub.
>