예제 #1
0
 protected function getAttributes()
 {
     return array_merge(parent::getAttributes(), array('login' => 'string', 'name' => 'string', 'company' => 'string', 'blog' => 'string', 'location' => 'string', 'email' => 'string', 'hireable' => 'boolean', 'bio' => 'string', 'public_repos' => 'int', 'public_gists' => 'int', 'followers' => 'int', 'following' => 'int', 'html_url' => 'string', 'created_at' => 'string', 'type' => 'string', 'avatar_url' => 'string'));
 }
예제 #2
0
 protected function getAttributes()
 {
     return array_merge(parent::getAttributes(), array('contributions' => 'int'));
 }