isRequired() public method

Is control mandatory?
public isRequired ( ) : boolean
return boolean
Example #1
0
 /**
  * Is control mandatory?
  * @return bool
  */
 public function isRequired()
 {
     return $this->rules->isRequired();
 }