presets[$type])) { throw new \InvalidArgumentException('Invalid type'); } return $this->presets[$type]; } }