Element_OphTrOperationbooking_ScheduleOperation::__set PHP 메소드

__set() 공개 메소드

make sure the cached dates array is reset when patient_unavailables is updated.
public __set ( string $name, mixed $value ) : mixed | void
$name string
$value mixed
리턴 mixed | void
    public function __set($name, $value)
    {
        if ($name == 'patient_unavailables') {
            $this->_unavailable_dates = null;
        }
        parent::__set($name, $value);
    }