Start item for the timeline

@param $key
@param $label
@param null $data
@param null $timetamp
354772
public function start($key, $label, $data = null, $timetamp = null)
    {
        $event = new Start($key, $label, $data, $timetamp);
        $this->dispatcher->dispatch(Start::EVENT_NAME, $event);
    }
876725
protected function setDate($data, $key, DateTIme $currentDate, callable $setCallback)
    {
        $date = $this->getProperty($data, $key, $currentDate);
        if ($date !== null) {
            if (is_string($date)) {
                $date = new DateTime($data[$key]);
            }
            call_user_func($setCallback, $date);
        }
    }
375823
function setData($key, $value = null)
    {
        if (is_null($value)) {
            unset($this->data[$key]);
        } else {
            $this->data[$key] = $value;
        }
        $this->touched = true;
    }
719020
public function setResult($key, $result, $ttl)
    {
        if (!($ttl instanceof Ttl)) {
            $ttl = new Ttl($ttl);
        }

        $expirationTimestamp = time() + $ttl->getTtl();
        $value = new Value($result, $expirationTimestamp);

        $this->valueStore->set($key, $value, $ttl->getRealTtl());
    }
195803
public function createLink($label, $href = null)
    {
        $link = new Link($label, $href);

        if ( ! $this->links instanceof ArrayIterator) {
            $this->links = new ArrayIterator();
        }

        $this->links->push($link);
    }
1147048
public static  function start($name, $key = null){
        if ($key) {
            $GLOBALS[ARX_HOOK][$name][$key] = '';
        } else {
            $GLOBALS[ARX_HOOK][$name] = '';
        }
        ob_start();
    }
172461
def start(self, key=None, **params):
		""""""
		self.params.update(**params)
		key = key or self.stack_key
		if key is not None:
			self.current_times[key] = time()
23730
public function setTemplate(array $data, string $key): void
  {
    $this->templateData = $data;
    $this->templateKey  = $key;
  }
1272823
protected function set($key, $data, $expire) {
		$this->memcache->set($key, $data, null, $expire);
	}
1184689
private function addItem($value, $label, $parentKey = null)
    {
        if ($parentKey) {
            $this->items[$parentKey][$value] = $label;
        } else {
            $this->items[$value] = $label;
        }
    }
231733
static function addTimingPoint( $conditionName, $label = "" )
    {
        if ( !eZDebugSetting::isConditionTrue( $conditionName, eZDebug::LEVEL_TIMING_POINT ) )
            return false;
        eZDebug::addTimingPoint( eZDebugSetting::changeLabel( $conditionName, $label ) );
    }
583642
public function saveDeferred($key, $item, $ttl = null)
    {
        $this->queue[$key]['data'] = $item;
        if (null != $ttl) {
            $this->queue[$key]['ttl'] = $ttl;
        }
    }
158290
public function later($time, $view, array $data, Closure $callback)
    {
        $message = new Message($this->mailgun->MessageBuilder(), $this->config);
        $message->builder()
                ->setDeliveryTime($this->parseTime($time), $this->config->get('app.timezone', 'UTC'));

        return $this->send($view, $data, $callback, $message);
    }
1305954
public function push($key, $data) {
        $key = trim($key);
        if (!array_key_exists($key, $this->data) || !is_array($this->data[$key])) {
            $this->data[$key] = [];
        }
        array_push($this->data[$key], $data);
    }
963155
public function measure($label, \Closure $closure)
    {
        if ($this->hasCollector('time')) {
            /** @var \DebugBar\DataCollector\TimeDataCollector $collector */
            $collector = $this->getCollector('time');
            $collector->measure($label, $closure);
        }
    }
1016116
private function skip($item, $key): void
    {
        $this->shouldSkip = false;
        $this->eventDispatcher->dispatch(new ItemEvent(EtlEvents::SKIP, $item, $key, $this));
    }
36710
public function setData($data, $key = null)
	{
		if (is_array($data) && $key === null) {
			$this->data = $data;

			return $this;
		}

		if ($key === null)
			$key = 'data';

		$this->data[$key] = $data;

		return $this;
	}