$options The options you want to build the table with. * @return \Cake\Datasource\RepositoryInterface * @throws \RuntimeException When trying to get alias for which instance * has already been created with different options. */ public function get(string $alias, array $options = []); /** * Set a repository instance. * * @param string $alias The alias to set. * @param \Cake\Datasource\RepositoryInterface $repository The repository to set. * @return \Cake\Datasource\RepositoryInterface */ public function set(string $alias, RepositoryInterface $repository); /** * Check to see if an instance exists in the registry. * * @param string $alias The alias to check for. * @return bool */ public function exists(string $alias): bool; /** * Removes an repository instance from the registry. * * @param string $alias The alias to remove. * @return void */ public function remove(string $alias): void; /** * Clears the registry of configuration and instances. * * @return void */ public function clear(): void; }