public function setDivisibility($divisibility)
    {
        if (!is_integer($divisibility) || $divisibility < 0)
            $divisibility = 6; // default 6

        $this->divisibility = $divisibility;
        return $this;
    }
public function setDivisibility($divisibility)
    {
        if (!is_integer($divisibility) || $divisibility < 0)
            $divisibility = 6; // default 6

        $this->divisibility = $divisibility;
        return $this;
    }
public function setDivisibility ( $ divisibility ) { if ( ! is_integer ( $ divisibility ) || $ divisibility < 0 ) $ divisibility = 6 ; // default 6 $ this -> divisibility = $ divisibility ; return $ this ; }
Setter for the `divisibility` property.

@param   integer     $divisibility
@return  \NEM\Models\Amount
Setter for the divisibility property .