PHP Class REBELinBLUE\Deployer\Validators\ChannelValidator

Show file Open project: rebelinblue/deployer

Public Methods

Method Description
validate ( string $attribute, string $value, array $parameters ) : boolean Validate the the channel name is valid for slack, i.e. starts with # or @.

Method Details

validate() public method

Validate the the channel name is valid for slack, i.e. starts with # or @.
public validate ( string $attribute, string $value, array $parameters ) : boolean
$attribute string
$value string
$parameters array
return boolean