public static function validateInstaller($installer_class)
    {
        if (class_exists($installer_class)) {
            $interfaces = class_implements($installer_class);
            $installer_interface = Config::getInternal('assets-package-installer-interface');
            return in_array($installer_interface, $interfaces);
        }
        return false;
    }
public static function validateInstaller($installer_class)
    {
        if (class_exists($installer_class)) {
            $interfaces = class_implements($installer_class);
            $installer_interface = Config::getInternal('assets-package-installer-interface');
            return in_array($installer_interface, $interfaces);
        }
        return false;
    }
public static function validateInstaller ( $ installer_class ) { if ( class_exists ( $ installer_class ) ) { $ interfaces = class_implements ( $ installer_class ) ; $ installer_interface = Config :: getInternal ( 'assets-package-installer-interface' ) ; return in_array ( $ installer_interface , $ interfaces ) ; } return false ; }
Validating the installer class to use

@param string $installer_class
@return bool
Validating the installer class to use