public final function getFormat($type) { return isset($this->formats[$type]) ? $this->formats[$type] : NULL; }