private function write(string $file_contains):int
    {
         $header = "/*\n * This is an iumio Framework component\n *\n * (c) RAFINA DANY <dany.rafina@iumio.com>";
         $headersub = "\n *\n * iumio Framework, an iumio component [https://iumio.com]\n *\n";
         $headersub2 = " * To get more information about licence, please check the licence file\n */";
         $date = new \DateTime();
         $date = $date->format('Y-m-d H:i:s');
         $header2 = "\n\n/* File generate by Mercure Routing - Time : $date. DO NOT OVERRIDE IT ! */\n\n";

        $rs = $header.$headersub.$headersub2.$header2."var mercuredata = ".$file_contains.";";
        return (($this->is_base)? JL::put($this->mercure_path_base, $rs) : JL::put($this->mercure_path, $rs));
    }