$value) { if (isset($this->$name)) { // TODO: This makes potential private classes modifiable from outside the class $this->$name = $value; }else { // One of the given cacheability settings doesn't exist throw new \Exception("Invalid cacheability setting: \"$name\""); } } } } // EOF