src/Core/Application.php
private function register_core_services( Config $config ) {
		$this->share( array( 'config' => 'Intraxia\Jaxion\Core\Config' ), $config );
		$this->share( array( 'loader' => 'Intraxia\Jaxion\Contract\Core\Loader' ), function () {
			return new Loader;
		} );
		$this->share( array( 'i18n' => 'Intaxia\Jaxion\Contract\Core\I18n' ), function ( Container $app ) {
			return new I18n( $app->fetch( 'basename' ), $app->fetch( 'path' ) );
		} );
	}
private function register_core_services( Config $config ) {
		$this->share( array( 'config' => 'Intraxia\Jaxion\Core\Config' ), $config );
		$this->share( array( 'loader' => 'Intraxia\Jaxion\Contract\Core\Loader' ), function () {
			return new Loader;
		} );
		$this->share( array( 'i18n' => 'Intaxia\Jaxion\Contract\Core\I18n' ), function ( Container $app ) {
			return new I18n( $app->fetch( 'basename' ), $app->fetch( 'path' ) );
		} );
	}
private function register_core_services ( Config $ config ) { $ this -> share ( array ( 'config' => 'Intraxia\Jaxion\Core\Config' ) , $ config ) ; $ this -> share ( array ( 'loader' => 'Intraxia\Jaxion\Contract\Core\Loader' ) , function ( ) { return new Loader ; } ) ; $ this -> share ( array ( 'i18n' => 'Intaxia\Jaxion\Contract\Core\I18n' ) , function ( Container $ app ) { return new I18n ( $ app -> fetch ( 'basename' ) , $ app -> fetch ( 'path' ) ) ; } ) ; }
Registers the built-in services with the Application container.

@param Config $config
Registers the built - in services with the Application container .