array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'varnishstat.getsnapshot.php', 1 => 'VarnishStat::getSnapshot', 2 => 'Get the current varnish instance statistics snapshot', ), 'up' => array ( 0 => 'class.varnishstat.php', 1 => 'VarnishStat', ), 'prev' => array ( 0 => 'varnishstat.construct.php', 1 => 'VarnishStat::__construct', ), 'next' => array ( 0 => 'class.varnishlog.php', 1 => 'VarnishLog', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/varnish/varnishstat/getsnapshot.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

VarnishStat::getSnapshot

(PECL varnish >= 0.3)

VarnishStat::getSnapshotGet the current varnish instance statistics snapshot

Опис

public VarnishStat::getSnapshot(): array

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Array with the varnish statistic snapshot. The array keys are identical to that in the varnishstat tool.