public static function object($objectType)
    {
        //====================================================================//
        // First Access to Local Objects
        if (!isset(self::core()->objects)) {
            //====================================================================//
            // Initialize Local Objects Class Array
            self::core()->objects = array();
        }

        //====================================================================//
        // Check in Cache
        if (array_key_exists($objectType, self::core()->objects)) {
            return self::core()->objects[$objectType];
        }

        //====================================================================//
        // Verify if Object Class is Valid
        if (!self::validate()->isValidObject($objectType)) {
            throw new Exception('You requested access to an Invalid Object Type : '.$objectType);
        }

        //====================================================================//
        // Check if Object Manager is Overriden
        if (self::local() instanceof ObjectsProviderInterface) {
            //====================================================================//
            // Initialize Local Object Manager
            self::core()->objects[$objectType] = self::local()->object($objectType);
        } else {
            //====================================================================//
            // Initialize Standard Class
            $className = SPLASH_CLASS_PREFIX.'\\Objects\\'.$objectType;
            self::core()->objects[$objectType] = new $className();
        }

        //====================================================================//
        //  Load Translation File
        self::translator()->load('objects');

        return self::core()->objects[$objectType];
    }
public static function object($objectType)
    {
        //====================================================================//
        // First Access to Local Objects
        if (!isset(self::core()->objects)) {
            //====================================================================//
            // Initialize Local Objects Class Array
            self::core()->objects = array();
        }

        //====================================================================//
        // Check in Cache
        if (array_key_exists($objectType, self::core()->objects)) {
            return self::core()->objects[$objectType];
        }

        //====================================================================//
        // Verify if Object Class is Valid
        if (!self::validate()->isValidObject($objectType)) {
            throw new Exception('You requested access to an Invalid Object Type : '.$objectType);
        }

        //====================================================================//
        // Check if Object Manager is Overriden
        if (self::local() instanceof ObjectsProviderInterface) {
            //====================================================================//
            // Initialize Local Object Manager
            self::core()->objects[$objectType] = self::local()->object($objectType);
        } else {
            //====================================================================//
            // Initialize Standard Class
            $className = SPLASH_CLASS_PREFIX.'\\Objects\\'.$objectType;
            self::core()->objects[$objectType] = new $className();
        }

        //====================================================================//
        //  Load Translation File
        self::translator()->load('objects');

        return self::core()->objects[$objectType];
    }
public static function object ( $ objectType ) { //====================================================================// // First Access to Local Objects if ( ! isset ( self :: core ( ) -> objects ) ) { //====================================================================// // Initialize Local Objects Class Array self :: core ( ) -> objects = array ( ) ; } //====================================================================// // Check in Cache if ( array_key_exists ( $ objectType , self :: core ( ) -> objects ) ) { return self :: core ( ) -> objects [ $ objectType ] ; } //====================================================================// // Verify if Object Class is Valid if ( ! self :: validate ( ) -> isValidObject ( $ objectType ) ) { throw new Exception ( 'You requested access to an Invalid Object Type : ' . $ objectType ) ; } //====================================================================// // Check if Object Manager is Overriden if ( self :: local ( ) instanceof ObjectsProviderInterface ) { //====================================================================// // Initialize Local Object Manager self :: core ( ) -> objects [ $ objectType ] = self :: local ( ) -> object ( $ objectType ) ; } else { //====================================================================// // Initialize Standard Class $ className = SPLASH_CLASS_PREFIX . '\\Objects\\' . $ objectType ; self :: core ( ) -> objects [ $ objectType ] = new $ className ( ) ; } //====================================================================// //  Load Translation File self :: translator ( ) -> load ( 'objects' ) ; return self :: core ( ) -> objects [ $ objectType ] ; }
Get Specific Object Class
This function is a router for all local object classes & functions

@param string $objectType Local Object Class Name

@throws Exception

@return ObjectInterface
Get Specific Object Class This function is a router for all local object classes & functions