public function getCurrentClient() { $user = $this->getCurrentUser(); return $user instanceof ClientInterface ? $user : null; }