public function isValidLocalClass()
    {
        $className = SPLASH_CLASS_PREFIX.'\\Local';
        //====================================================================//
        // Verify Results in Cache
        if (isset($this->ValidLocalClass[$className])) {
            return $this->ValidLocalClass[$className];
        }

        $this->ValidLocalClass[$className] = false;

        //====================================================================//
        // Verify Splash Local Core Class Exists
        if (false == class_exists($className)) {
            return Splash::log()->err(Splash::trans('ErrLocalClass', $className));
        }

        //====================================================================//
        // Verify Splash Local Core Extends LocalClassInterface
        try {
            $class = new $className();
            if (!($class instanceof LocalClassInterface)) {
                return Splash::log()->err(Splash::trans('ErrLocalInterface', $className, LocalClassInterface::class));
            }
        } catch (Exception $exc) {
            echo $exc->getMessage();

            return Splash::log()->err($exc->getMessage());
        }

        $this->ValidLocalClass[$className] = true;

        return $this->ValidLocalClass[$className];
    }
public function isValidLocalClass()
    {
        $className = SPLASH_CLASS_PREFIX.'\\Local';
        //====================================================================//
        // Verify Results in Cache
        if (isset($this->ValidLocalClass[$className])) {
            return $this->ValidLocalClass[$className];
        }

        $this->ValidLocalClass[$className] = false;

        //====================================================================//
        // Verify Splash Local Core Class Exists
        if (false == class_exists($className)) {
            return Splash::log()->err(Splash::trans('ErrLocalClass', $className));
        }

        //====================================================================//
        // Verify Splash Local Core Extends LocalClassInterface
        try {
            $class = new $className();
            if (!($class instanceof LocalClassInterface)) {
                return Splash::log()->err(Splash::trans('ErrLocalInterface', $className, LocalClassInterface::class));
            }
        } catch (Exception $exc) {
            echo $exc->getMessage();

            return Splash::log()->err($exc->getMessage());
        }

        $this->ValidLocalClass[$className] = true;

        return $this->ValidLocalClass[$className];
    }
public function isValidLocalClass ( ) { $ className = SPLASH_CLASS_PREFIX . '\\Local' ; //====================================================================// // Verify Results in Cache if ( isset ( $ this -> ValidLocalClass [ $ className ] ) ) { return $ this -> ValidLocalClass [ $ className ] ; } $ this -> ValidLocalClass [ $ className ] = false ; //====================================================================// // Verify Splash Local Core Class Exists if ( false == class_exists ( $ className ) ) { return Splash :: log ( ) -> err ( Splash :: trans ( 'ErrLocalClass' , $ className ) ) ; } //====================================================================// // Verify Splash Local Core Extends LocalClassInterface try { $ class = new $ className ( ) ; if ( ! ( $ class instanceof LocalClassInterface ) ) { return Splash :: log ( ) -> err ( Splash :: trans ( 'ErrLocalInterface' , $ className , LocalClassInterface :: class ) ) ; } } catch ( Exception $ exc ) { echo $ exc -> getMessage ( ) ; return Splash :: log ( ) -> err ( $ exc -> getMessage ( ) ) ; } $ this -> ValidLocalClass [ $ className ] = true ; return $ this -> ValidLocalClass [ $ className ] ; }
Verify Local Core Class Exists & Is Valid

@return bool
Verify Local Core Class Exists & Is Valid