public function isMandatory();
/** * returns mandatory. * * @return bool */ public function isMandatory() { return $this->property->isMandatory(); }