• Full name: \App\Domain\User\Services\UserCache

Methods

update

Update user caches.

public static update(\App\Domain\User\Model\User|array $user): void
  • This method is static. Parameters:
Parameter Type Description
$user \App\Domain\User\Model\User|array User object or user array to be cached.

clean

Clean user caches.

public static clean(\App\Domain\User\Model\User|array $user): void
  • This method is static. Parameters:
Parameter Type Description
$user \App\Domain\User\Model\User|array User object or user array to be cleaned from the cache.