/** * Getter * * @param string $name * @throws RuntimeException * @return void */ public function __get($name) { if ($name === 'createVersions') { throw new \RuntimeException(__d('file_storage', 'createVersions was removed, see the change log')); } parent::__get($name); }