PHP Class Neos\Neos\ViewHelpers\Backend\ColorOfStringViewHelper

Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
ファイルを表示 Open project: neos/neos-development-collection

Public Methods

Method Description
render ( string $string = null, integer $minimalBrightness = 50 ) : string Outputs a hex color code (#000000) based on $text

Method Details

render() public method

Outputs a hex color code (#000000) based on $text
public render ( string $string = null, integer $minimalBrightness = 50 ) : string
$string string
$minimalBrightness integer
return string