src/mako/gatekeeper/repositories/user/UserRepository.php
protected function setAuthorizer($user)
	{
		if($user !== false && $this->authorizer !== null && $user instanceof AuthorizableInterface)
		{
			$user->setAuthorizer($this->authorizer);
		}

		return $user;
	}
protected function setAuthorizer($user)
	{
		if($user !== false && $this->authorizer !== null && $user instanceof AuthorizableInterface)
		{
			$user->setAuthorizer($this->authorizer);
		}

		return $user;
	}
protected function setAuthorizer ( $ user ) { if ( $ user !== false && $ this -> authorizer !== null && $ user instanceof AuthorizableInterface ) { $ user -> setAuthorizer ( $ this -> authorizer ) ; } return $ user ; }
Sets the authorizer.

@param  \mako\gatekeeper\entities\user\User|bool $user User
@return \mako\gatekeeper\entities\user\User|bool
Sets the authorizer .