public static function setNewFileMode(string $mode = '740'): void
    {
        static::init();
        static::$newFileMode = \preg_match('/^[0-7]{3}$/', $mode) ? \intval($mode, 8) : 0740;
    }
public static function setNewFileMode(string $mode = '740'): void
    {
        static::init();
        static::$newFileMode = \preg_match('/^[0-7]{3}$/', $mode) ? \intval($mode, 8) : 0740;
    }
public static function setNewFileMode ( string $ mode = '740' ) : void { static :: init ( ) ; static :: $ newFileMode = \ preg_match ( '/^[0-7]{3}$/' , $ mode ) ? \ intval ( $ mode , 8 ) : 0740 ; }
Sets default mode for newly created files

@param string $mode
Sets default mode for newly created files