PHP Class eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\Suggestion\ConfigSuggestion

The suggestion can be mandatory or not.
Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( $message = null, array $suggestion = [], $mandatory = false )
getMessage ( ) : string
getSuggestion ( ) : array
isMandatory ( ) : boolean
setMandatory ( boolean $mandatory )
setMessage ( string $message )
setSuggestion ( array $suggestion )

Method Details

__construct() public method

public __construct ( $message = null, array $suggestion = [], $mandatory = false )
$suggestion array

getMessage() public method

public getMessage ( ) : string
return string

getSuggestion() public method

public getSuggestion ( ) : array
return array

isMandatory() public method

public isMandatory ( ) : boolean
return boolean

setMandatory() public method

public setMandatory ( boolean $mandatory )
$mandatory boolean

setMessage() public method

public setMessage ( string $message )
$message string

setSuggestion() public method

public setSuggestion ( array $suggestion )
$suggestion array