public function createToken(int $expire = 15): string
    {
        $token = uniqid(rand(), true);
        
        $saveInfos = (object) [
            'token' => $token,
            'date'  => new DateTime,
            'expire' => $expire
        ];

        $this->saveToken($saveInfos);
        return $saveInfos->token;
    }