private function mustBeDifferentImpersonatable(Impersonatable $impersonater, Impersonatable $impersonated)
    {
        if ($impersonater->getAuthIdentifier() == $impersonated->getAuthIdentifier())
            throw new Exceptions\ImpersonationException(
                'The impersonater & impersonated with must be different.'
            );
    }
private function mustBeDifferentImpersonatable(Impersonatable $impersonater, Impersonatable $impersonated)
    {
        if ($impersonater->getAuthIdentifier() == $impersonated->getAuthIdentifier())
            throw new Exceptions\ImpersonationException(
                'The impersonater & impersonated with must be different.'
            );
    }
private function mustBeDifferentImpersonatable ( Impersonatable $ impersonater , Impersonatable $ impersonated ) { if ( $ impersonater -> getAuthIdentifier ( ) == $ impersonated -> getAuthIdentifier ( ) ) throw new Exceptions \ ImpersonationException ( 'The impersonater & impersonated with must be different.' ) ; }
Check the impersonater and the impersonated are different.

@param  \Arcanedev\LaravelImpersonator\Contracts\Impersonatable  $impersonater
@param  \Arcanedev\LaravelImpersonator\Contracts\Impersonatable  $impersonated

@throws \Arcanedev\LaravelImpersonator\Exceptions\ImpersonationException
Check the impersonater and the impersonated are different .