/** * @param Kirby $kirby * @param Kirby\Registry $registry * @param string $subtype */ public function __construct(Registry $registry, $subtype = null) { $this->registry = $registry; $this->kirby = $registry->kirby(); $this->subtype = $subtype; }