username = $username; } /** * Execute the job. * * @return void */ public function handle() { $helper = new Helper(); $helper->createUser( $this->username ); if ( false === $helper->setIsWatching( $this->username ) ) { echo "fail!!!"; #$this->setOutput(["status" => "fail", "reason" => "user does not exist", "username" => $this->username]); $this->queueData(["status" => "fail", "reason" => "user does not exist", "username" => $this->username]); } else { $helper->setCalendar( $this->username ); #$this->setOutput(["status" => "okay", "reason" => "", "username" => $this->username]); $this->queueData(["status" => "okay", "reason" => "", "username" => $this->username]); } $this->fail(); } /* public function uniqueId() { #return $this->username; } */ }