providers)->only($id)->all(); } return $id ? $this->providers[$id] : $this->providers; } public function register(FeatureSchemaInterface $provider): void { if (array_key_exists($provider->getId(), $this->providers)) { return; } $this->providers[$provider->getId()] = $provider; } }