CakeDC\Users\View\Helper\UserHelper::logout PHP Метод

logout() публичный Метод

Logout link
public logout ( null $message = null, array $options = [] ) : string
$message null logout message info.
$options array Array with option data.
Результат string
    public function logout($message = null, $options = [])
    {
        return $this->AuthLink->link(empty($message) ? __d('CakeDC/Users', 'Logout') : $message, ['plugin' => 'CakeDC/Users', 'controller' => 'Users', 'action' => 'logout'], $options);
    }