src/Charcoal/Property/AbstractProperty.php
public function setMultiple($multiple)
    {
        if (!is_bool($multiple)) {
            if (is_array($multiple)) {
                $this->setMultipleOptions($multiple);
            } elseif (is_int($multiple)) {
                $this->setMultipleOptions([
                    'min' => $multiple,
                    'max' => $multiple
                ]);
            }
        }

        $this->multiple = !!$multiple;

        return $this;
    }
public function setMultiple($multiple)
    {
        if (!is_bool($multiple)) {
            if (is_array($multiple)) {
                $this->setMultipleOptions($multiple);
            } elseif (is_int($multiple)) {
                $this->setMultipleOptions([
                    'min' => $multiple,
                    'max' => $multiple
                ]);
            }
        }

        $this->multiple = !!$multiple;

        return $this;
    }
public function setMultiple ( $ multiple ) { if ( ! is_bool ( $ multiple ) ) { if ( is_array ( $ multiple ) ) { $ this -> setMultipleOptions ( $ multiple ) ; } elseif ( is_int ( $ multiple ) ) { $ this -> setMultipleOptions ( [ 'min' => $ multiple , 'max' => $ multiple ] ) ; } } $ this -> multiple = ! ! $ multiple ; return $ this ; }
Set whether this property accepts multiple values or a single value.

@param  boolean $multiple The multiple flag.
@return self
Set whether this property accepts multiple values or a single value .