PHP Class InfyOm\Generator\Utils\FileUtil

Show file Open project: infyomlabs/laravel-generator Class Usage Examples

Public Methods

Method Description
createDirectoryIfNotExist ( $path, $replace = false )
createFile ( $path, $fileName, $contents )
deleteFile ( $path, $fileName )

Method Details

createDirectoryIfNotExist() public static method

public static createDirectoryIfNotExist ( $path, $replace = false )

createFile() public static method

public static createFile ( $path, $fileName, $contents )

deleteFile() public static method

public static deleteFile ( $path, $fileName )