public function createFacade($config)
    {
        $this->fileService->mkdir($config['_path_facade_'], 0777, true);

        $facade = $this->fileService->get($config['template_source'].'/Facade.txt');

        foreach ($config as $key => $value) {
            $facade = str_replace($key, $value, $facade);
        }

        $facade = $this->putIfNotExists($config['_path_facade_'].'/'.$config['_camel_case_'].'.php', $facade);

        return $facade;
    }
public function createFacade($config)
    {
        $this->fileService->mkdir($config['_path_facade_'], 0777, true);

        $facade = $this->fileService->get($config['template_source'].'/Facade.txt');

        foreach ($config as $key => $value) {
            $facade = str_replace($key, $value, $facade);
        }

        $facade = $this->putIfNotExists($config['_path_facade_'].'/'.$config['_camel_case_'].'.php', $facade);

        return $facade;
    }
public function createFacade ( $ config ) { $ this -> fileService -> mkdir ( $ config [ '_path_facade_' ] , 0777 , true ) ; $ facade = $ this -> fileService -> get ( $ config [ 'template_source' ] . '/Facade.txt' ) ; foreach ( $ config as $ key => $ value ) { $ facade = str_replace ( $ key , $ value , $ facade ) ; } $ facade = $ this -> putIfNotExists ( $ config [ '_path_facade_' ] . '/' . $ config [ '_camel_case_' ] . '.php' , $ facade ) ; return $ facade ; }
Create the facade.

@param array $config

@return bool
Create the facade .