public static function set(string $index, $value):int
    {
        self::$framework_paths[$index] = $value;
        $container = FrameworkContainer::getInstance();
        $container->set($index, $value);
        if (isset(self::$framework_paths[$index])) {
            return (1);
        } else {
            return (0);
        }
    }
public static function set(string $index, $value):int
    {
        self::$framework_paths[$index] = $value;
        $container = FrameworkContainer::getInstance();
        $container->set($index, $value);
        if (isset(self::$framework_paths[$index])) {
            return (1);
        } else {
            return (0);
        }
    }
public static function set ( string $ index , $ value ) : int { self :: $ framework_paths [ $ index ] = $ value ; $ container = FrameworkContainer :: getInstance ( ) ; $ container -> set ( $ index , $ value ) ; if ( isset ( self :: $ framework_paths [ $ index ] ) ) { return ( 1 ) ; } else { return ( 0 ) ; } }
Set or edit path value in framework_path
@param $index string The path name
@param $value mixed The path value (not only a string)
@return int The adding success
Set or edit path value in framework_path