src/Crossjoin/Css/Format/Rule/TraitIsValid.php
public function setIsValid($isValid)
    {
        if (is_bool($isValid)) {
            $this->isValid = $isValid;
        } else {
            throw new \InvalidArgumentException(
                "Invalid value '" . $isValid . "' for argument 'isValid' given."
            );
        }

        return $this;
    }
public function setIsValid($isValid)
    {
        if (is_bool($isValid)) {
            $this->isValid = $isValid;
        } else {
            throw new \InvalidArgumentException(
                "Invalid value '" . $isValid . "' for argument 'isValid' given."
            );
        }

        return $this;
    }
public function setIsValid ( $ isValid ) { if ( is_bool ( $ isValid ) ) { $ this -> isValid = $ isValid ; } else { throw new \ InvalidArgumentException ( "Invalid value '" . $ isValid . "' for argument 'isValid' given." ) ; } return $ this ; }
Sets the validation status.

@param bool $isValid
@return $this
Sets the validation status .