kahlan\Reporters::dispatch PHP Метод

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

Sends reports
public dispatch ( string $type, array $data = null )
$type string The name of the report.
$data array The data to report.
    public function dispatch($type, $data = null)
    {
        foreach ($this->_reporters as $reporter) {
            $reporter->{$type}($data);
        }
    }