PHP Class Crummy\Phlack\Common\OptionsResolver

Inheritance: extends Symfony\Component\OptionsResolver\OptionsResolver
Datei anzeigen Open project: mcrumm/phlack Class Usage Examples

Public Methods

Method Description
setDefined ( $optionNames )
setNormalizers ( array $normalizers )
setTypesAllowed ( array $allowedTypes = null ) Set a list of allowed types for the given option.

Private Methods

Method Description
isLatest ( ) : boolean Checks whether or not the OptionsResolver version is up-to-date.

Method Details

setDefined() public method

public setDefined ( $optionNames )

setNormalizers() public method

public setNormalizers ( array $normalizers )
$normalizers array

setTypesAllowed() public method

Set a list of allowed types for the given option.
See also: Symfony\Component\OptionsResolver\OptionsResolver::setAllowedTypes()
public setTypesAllowed ( array $allowedTypes = null )
$allowedTypes array