public function findTokenByEmail($email)
    {
        $user = $this->users->where('email', $email)->first();

        if (! is_null($user)) {
            return $user->getActivationToken();
        }

        return null;
    }
public function findTokenByEmail($email)
    {
        $user = $this->users->where('email', $email)->first();

        if (! is_null($user)) {
            return $user->getActivationToken();
        }

        return null;
    }
public function findTokenByEmail ( $ email ) { $ user = $ this -> users -> where ( 'email' , $ email ) -> first ( ) ; if ( ! is_null ( $ user ) ) { return $ user -> getActivationToken ( ) ; } return null ; }
Find a Token object by the token string.

@param string $email The user's email address.

@return \JumpGate\Users\Models\User\Token|null
Find a Token object by the token string .