Source of file BlackholeAdapter.php
Size: 0,709 Bytes - Last Modified: 2021-12-23T10:07:39+00:00
/var/www/docs.ssmods.com/process/src/code/adapter/BlackholeAdapter.php
123456789101112131415161718192021222324252627282930313233343536 | <?php namespace Ntb\Statistics; /** * Class BlackholeAdapter * @package Ntb\Statistics * @author Christian Blank <c.blank@notthatbad.net> */ class BlackholeAdapter extends \Object implements IStatisticAdapter { /** * Check the current connectivity ot the remote service. * * @return bool */ public function canConnect() { return true; } /** * Sends all given indicators to the configured service. * * @param IIndicator[] $indicators */ public function send($indicators) { print_r($indicators); } /** * Initializes the connection to external resources. */ public function init() { // nop } } |