properties[$name] = $value; break; default: parent::__set( $name, $value ); } } /** * Returns the value of property $name. * * @param string $name The property name * @return mixed * @ignore */ public function __get( $name ) { switch ( $name ) { case 'hours': if ( isset( $this->properties[$name] ) ) { return $this->properties[$name]; } break; default: return parent::__get( $name ); } } } ?>