protected registerTagAttribute ( string $name, string $type, string $description, boolean $required = false, mixed $defaultValue = null ) : void | ||
$name | string | Name of tag attribute |
$type | string | Type of the tag attribute |
$description | string | Description of tag attribute |
$required | boolean | set to TRUE if tag attribute is required. Defaults to FALSE. |
$defaultValue | mixed | Optional, default value of attribute if one applies |
return | void |
protected function registerTagAttribute($name, $type, $description, $required = false, $defaultValue = null)
{
$this->registerArgument($name, $type, $description, $required, $defaultValue);
self::$tagAttributes[get_class($this)][$name] = $name;
}