private function isValidObjectClass($className)
    {
        //====================================================================//
        // Safety Check => Object Type is String
        if (!is_string($className)) {
            return "Object Type is Not a String";
        }
        //====================================================================//
        // Safety Check => Class Exists
        if (!class_exists($className)) {
            return "Object Class Not Found";
        }
        //====================================================================//
        // Safety Check => Class Extends
        if (!is_subclass_of($className, AbstractObject::class)) {
            return "Object Class MUST extends ".AbstractObject::class;
        }

        return true;
    }
private function isValidObjectClass($className)
    {
        //====================================================================//
        // Safety Check => Object Type is String
        if (!is_string($className)) {
            return "Object Type is Not a String";
        }
        //====================================================================//
        // Safety Check => Class Exists
        if (!class_exists($className)) {
            return "Object Class Not Found";
        }
        //====================================================================//
        // Safety Check => Class Extends
        if (!is_subclass_of($className, AbstractObject::class)) {
            return "Object Class MUST extends ".AbstractObject::class;
        }

        return true;
    }
private function isValidObjectClass ( $ className ) { //====================================================================// // Safety Check => Object Type is String if ( ! is_string ( $ className ) ) { return "Object Type is Not a String" ; } //====================================================================// // Safety Check => Class Exists if ( ! class_exists ( $ className ) ) { return "Object Class Not Found" ; } //====================================================================// // Safety Check => Class Extends if ( ! is_subclass_of ( $ className , AbstractObject :: class ) ) { return "Object Class MUST extends " . AbstractObject :: class ; } return true ; }
Validate Object Class Name

@param mixed $className

@return string|true
Validate Object Class Name