kahlan\Scope::report PHP Method

report() public method

Send some data to reporters.
public report ( string $type, mixed $data, $byPassFocuses = false )
$type string The message type.
$data mixed The message data.
    public function report($type, $data, $byPassFocuses = false)
    {
        if (!$this->_root->_reporters) {
            return;
        }
        if (!$byPassFocuses && $this->_root->focused() && !$this->focused()) {
            return;
        }
        $this->_root->_reporters->dispatch($type, $data);
    }