@param string $name

@return Element\Input\DateTimeLocal
176412
public function addInputDateTimeLocal(string $name) : Element\Input\DateTimeLocal
    {
        $input = new Element\Input\DateTimeLocal($this, $name);
        $this->addComponent($name, $input);

        return $input;
    }
849725
public static function timer(string $name = null): float
    {
        static $time = [];
        $now = \microtime(true);
        $delta = isset($time[$name]) ? $now - $time[$name] : 0;
        $time[$name] = $now;

        return $delta;
    }
1069493
private function getFormTime(string $name): ?DateTime
    {
        $key = $this->getSessionKey($name);

        if ($this->hasFormProtection($name)) {
            return $this->session->get($key);
        }

        return null;
    }
1096983
public function addInputEmail(string $name) : Element\Input\Email
    {
        $input = new Element\Input\Email($this, $name);
        $this->addComponent($name, $input);

        return $input;
    }
415423
public function getCustomDatetimeFunction($name)
    {
        $name = strtolower($name);

        return isset($this->_attributes['customDatetimeFunctions'][$name])
            ? $this->_attributes['customDatetimeFunctions'][$name]
            : null;
    }
1117560
public function get($name)
    {
        if ($this->has($name)) {
            $code = $this->getCode($name);

            $this->elements[$code] = $this->resolve($this->elements[$code]);

            return $this->elements[$code];
        }

        throw new \InvalidArgumentException(sprintf('Element "%s" does not exist.', $name));
    }
416911
public function addInputDate(string $name) : Element\Input\Date
    {
        $input = new Element\Input\Date($this, $name);
        $this->addComponent($name, $input);

        return $input;
    }
676847
public function getLocaleForNodeName($name)
    {
        foreach ($this->translations as $translation)
        {
            if ($translation->node_name === $name)
            {
                return $translation->locale;
            }
        }

        return null;
    }
628445
public function addInputMonth(string $name) : Element\Input\Month
    {
        $input = new Element\Input\Month($this, $name);
        $this->addComponent($name, $input);

        return $input;
    }
889167
public function addInputText(string $name) : Element\Input\Text
    {
        $input = new Element\Input\Text($this, $name);
        $this->addComponent($name, $input);

        return $input;
    }
128285
public static function get($name = "default")
  {
    if(!array_key_exists($name, self::$timers))
    {
      self::init($name);
    }

    return self::$timers[$name];
  }
1325592
public function datetimeLocal(String $name = NULL, String $value = NULL, Array $_attributes = [])
    {
        return $this->_input($name, $value, $_attributes, 'datetime-local');
    }
175525
public function setSelected(string $name)
    {
        return $this->transform(function (Item $item) use ($name) {
            return $item->setSelected($name);
        });
    }
1028806
public function addInputButton(string $name) : Element\Input\Button
    {
        $input = new Element\Input\Button($this, $name);
        $this->addComponent($name, $input);

        return $input;
    }
389896
public function get(DateTime $datetime, $name)
	{
		$value = null;

		switch ($name)
		{
			case 'daysinmonth':
				$value = $datetime->format('t');
				break;

			case 'dayofweek':
				$value = $datetime->format('N');
				break;

			case 'dayofyear':
				$value = $datetime->format('z');
				break;

			case 'isleapyear':
				$value = (boolean) $datetime->format('L');
				break;

			case 'day':
				$value = $datetime->format('d');
				break;

			case 'hour':
				$value = $datetime->format('H');
				break;

			case 'minute':
				$value = $datetime->format('i');
				break;

			case 'second':
				$value = $datetime->format('s');
				break;

			case 'month':
				$value = $datetime->format('m');
				break;

			case 'ordinal':
				$value = $datetime->format('S');
				break;

			case 'week':
				$value = $datetime->format('W');
				break;

			case 'year':
				$value = $datetime->format('Y');
				break;

			default:
				$trace = debug_backtrace();
				trigger_error('Undefined property: ' . $name . ' in ' . $trace[0]['file'] . ' on line ' . $trace[0]['line'], E_USER_NOTICE);
		}

		return $value;
	}
1144542
protected function nullableDate(string $name): Closure
    {
        return function (Table $table) use ($name) {
            $table->addColumn($name, Type::DATE)->setNotnull(false);
        };
    }
801045
public function addInputCheckbox(string $name) : Element\Input\Checkbox
    {
        $input = new Element\Input\Checkbox($this, $name);
        $this->addComponent($name, $input);

        return $input;
    }