public field_load ( string $key ) : mixed | ||
$key | string | The name of a form component that will be loaded |
return | mixed | The stored value returned |
function field_load($key)
{
if (is_callable($this->loader)) {
return Method::dispatch($this->loader, $key);
}
return $this->loader;
}