private function checkImpersonation(Impersonatable $impersonater, Impersonatable $impersonated)
    {
        $this->mustBeEnabled();
        $this->mustBeDifferentImpersonatable($impersonater, $impersonated);
        $this->checkImpersonater($impersonater);
        $this->checkImpersonated($impersonated);
    }
private function checkImpersonation(Impersonatable $impersonater, Impersonatable $impersonated)
    {
        $this->mustBeEnabled();
        $this->mustBeDifferentImpersonatable($impersonater, $impersonated);
        $this->checkImpersonater($impersonater);
        $this->checkImpersonated($impersonated);
    }
private function checkImpersonation ( Impersonatable $ impersonater , Impersonatable $ impersonated ) { $ this -> mustBeEnabled ( ) ; $ this -> mustBeDifferentImpersonatable ( $ impersonater , $ impersonated ) ; $ this -> checkImpersonater ( $ impersonater ) ; $ this -> checkImpersonated ( $ impersonated ) ; }
Check the impersonation.

@param  \Arcanedev\LaravelImpersonator\Contracts\Impersonatable  $impersonater
@param  \Arcanedev\LaravelImpersonator\Contracts\Impersonatable  $impersonated
Check the impersonation .