public function setTimeDependent($timeDependent)
    {
        if (gettype($timeDependent) === 'boolean') {
            $this->timeDependent = $timeDependent;
        } else {
            $msg = "The timeDependent argument must be a boolean value, '" . gettype($timeDependent) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setTimeDependent($timeDependent)
    {
        if (gettype($timeDependent) === 'boolean') {
            $this->timeDependent = $timeDependent;
        } else {
            $msg = "The timeDependent argument must be a boolean value, '" . gettype($timeDependent) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setTimeDependent ( $ timeDependent ) { if ( gettype ( $ timeDependent ) === 'boolean' ) { $ this -> timeDependent = $ timeDependent ; } else { $ msg = "The timeDependent argument must be a boolean value, '" . gettype ( $ timeDependent ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set if the referenced Item is considered to be time dependent or not.

@param boolean $timeDependent Whether the referenced item is time dependent.
@throws \InvalidArgumentException If $timeDependent is not a boolean value.
Set if the referenced Item is considered to be time dependent or not .