protected static function setFile($content)
    {
        $root = Process::root;

        if (file_exists(Process::root.'config/alias.php')) {
            $file = fopen(Process::root.'config/alias.php', 'w');
            fwrite($file, $content);
            fclose($file);
            //
            return true;
        }

        return false;
    }
protected static function setFile($content)
    {
        $root = Process::root;

        if (file_exists(Process::root.'config/alias.php')) {
            $file = fopen(Process::root.'config/alias.php', 'w');
            fwrite($file, $content);
            fclose($file);
            //
            return true;
        }

        return false;
    }
protected static function setFile ( $ content ) { $ root = Process :: root ; if ( file_exists ( Process :: root . 'config/alias.php' ) ) { $ file = fopen ( Process :: root . 'config/alias.php' , 'w' ) ; fwrite ( $ file , $ content ) ; fclose ( $ file ) ; // return true ; } return false ; }
Set the file.

@param string $content

@return bool
Set the file .