src/Charcoal/Property/StringProperty.php
public function validateAllowEmpty()
    {
        $val = $this->val();

        if (($val === null || $val === '') && !$this->allowEmpty()) {
            return false;
        } else {
            return true;
        }
    }
public function validateAllowEmpty()
    {
        $val = $this->val();

        if (($val === null || $val === '') && !$this->allowEmpty()) {
            return false;
        } else {
            return true;
        }
    }
public function validateAllowEmpty ( ) { $ val = $ this -> val ( ) ; if ( ( $ val === null || $ val === '' ) && ! $ this -> allowEmpty ( ) ) { return false ; } else { return true ; } }
Validate if the property's value is allowed to be empty.

@return boolean
Validate if the property s value is allowed to be empty .