protected getArgumentFromArgumentsOrTagContent ( string $argumentName ) : mixed | ||
$argumentName | string | |
Résultat | mixed |
protected function getArgumentFromArgumentsOrTagContent($argumentName)
{
if (false === $this->hasArgument($argumentName)) {
$value = $this->renderChildren();
} else {
$value = $this->arguments[$argumentName];
}
return $value;
}