public getProperty ( string $name, ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface $legend ) : ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface | ||
$name | string | The legend name. |
$legend | ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\LegendInterface | The legend instance. |
return | ContaoCommunityAlliance\DcGeneral\DataDefinition\Palette\PropertyInterface |