public static function createUser($author) { $retour = Name::create(array('id_str' => $author[0]->user->id_str, 'screen_name' => $author[0]->user->screen_name, 'name' => $author[0]->user->name, 'profile_image_url' => $author[0]->user->profile_image_url)); return $retour; }