fmm = $fmm; } /** * init boxes @ user's account creation * * @param CustomUserInterface $user * @return bool */ public function createBoxesForUser(CustomUserInterface $user){ $error = 0; $db = $this->fmm->userDropbox($user); if(!$db instanceof FolderItem) $error++; $trash = $this->fmm->userTrash($user); if(!$trash instanceof FolderItem) $error++; if($error>0) return false; return true; } }