public function setSelect($select)
    {
        if (is_int($select)) {
            $this->select = $select;
        } else {
            $msg = "Select must be an integer, '" . gettype($select) . "' given.";
        }
    }
public function setSelect($select)
    {
        if (is_int($select)) {
            $this->select = $select;
        } else {
            $msg = "Select must be an integer, '" . gettype($select) . "' given.";
        }
    }
public function setSelect ( $ select ) { if ( is_int ( $ select ) ) { $ this -> select = $ select ; } else { $ msg = "Select must be an integer, '" . gettype ( $ select ) . "' given." ; } }
Set the number of child elements to be selected.

@param integer $select An integer.
@throws \InvalidArgumentException If $select is not an integer.
Set the number of child elements to be selected .