checkToken($token); if ( $ret && $this->order->status_first_access_datetime === null ) { $this->order->status_first_access_datetime = DateUtil::now(); $this->save(); // タイムスタンプが変わるので取得しなおす $this->checkToken($token); } return $ret; } }