src/mako/application/Application.php
protected function registerClassAliases(): void
	{
		$aliases = $this->config->get('application.class_aliases');

		if(!empty($aliases))
		{
			$aliasLoader = new AliasLoader($aliases);

			spl_autoload_register([$aliasLoader, 'load']);
		}
	}
protected function registerClassAliases(): void
	{
		$aliases = $this->config->get('application.class_aliases');

		if(!empty($aliases))
		{
			$aliasLoader = new AliasLoader($aliases);

			spl_autoload_register([$aliasLoader, 'load']);
		}
	}
protected function registerClassAliases ( ) : void { $ aliases = $ this -> config -> get ( 'application.class_aliases' ) ; if ( ! empty ( $ aliases ) ) { $ aliasLoader = new AliasLoader ( $ aliases ) ; spl_autoload_register ( [ $ aliasLoader , 'load' ] ) ; } }
Registers class aliases.
Registers class aliases .