setType() setType(string $type) : \Charcoal\Source\SourceConfig Parameters string $type The type of source. Throws \InvalidArgumentException If parameter is not a string. Returns \Charcoal\Source\SourceConfig — Chainable