Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 14 |
CRAP | |
0.00% |
0 / 42 |
| GetUser | |
0.00% |
0 / 1 |
|
0.00% |
0 / 14 |
210 | |
0.00% |
0 / 42 |
| getId | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getLogin | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getName | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getAvatar | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getUrl | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getHtmlUrl | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getType | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getCompany | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getLocation | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getEmail | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getFollowing | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getFollowers | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getCreatedAt | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| getUpdatedAt | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| <?php | |
| namespace Emeka\Evangelist\client; | |
| use Emeka\Evangelist\Evangelist; | |
| class GetUser extends Evangelist | |
| { | |
| public function getId() | |
| { | |
| return $this->getEvangeInfo->id; | |
| } | |
| public function getLogin() | |
| { | |
| return $this->getEvangeInfo->login; | |
| } | |
| public function getName() | |
| { | |
| return $this->getEvangeInfo->name; | |
| } | |
| public function getAvatar() | |
| { | |
| return $this->getEvangeInfo->avatar_url; | |
| } | |
| public function getUrl() | |
| { | |
| return $this->getEvangeInfo->url; | |
| } | |
| public function getHtmlUrl() | |
| { | |
| return $this->getEvangeInfo->html_ur; | |
| } | |
| public function getType() | |
| { | |
| return $this->getEvangeInfo->type; | |
| } | |
| public function getCompany() | |
| { | |
| return $this->getEvangeInfo->company; | |
| } | |
| public function getLocation() | |
| { | |
| return $this->getEvangeInfo->location; | |
| } | |
| public function getEmail() | |
| { | |
| return $this->getEvangeInfo->email; | |
| } | |
| public function getFollowing() | |
| { | |
| return $this->getEvangeInfo->following; | |
| } | |
| public function getFollowers() | |
| { | |
| return $this->getEvangeInfo->followers; | |
| } | |
| public function getCreatedAt() | |
| { | |
| return $this->getEvangeInfo->created_at; | |
| } | |
| public function getUpdatedAt() | |
| { | |
| return $this->getEvangeInfo->updated_at; | |
| } | |
| } | |
| ?> |