public function setNumberOfShards($value)
    {
        assert(null === $value || is_numeric($value));
        $this->_numberOfShards = $value;
    }
public function setNumberOfShards($value)
    {
        assert(null === $value || is_numeric($value));
        $this->_numberOfShards = $value;
    }
public function setNumberOfShards ( $ value ) { assert ( null === $ value || is_numeric ( $ value ) ) ; $ this -> _numberOfShards = $ value ; }
Set the numberOfShards value

@param int $value - numberOfShards value

@return void
Set the numberOfShards value