PHP Class Amranidev\ScaffoldInterface\Filesystem\Filesystem

Author: Amrani Houssian ([email protected])
Mostrar archivo Open project: amranidev/scaffold-interface

Public Methods

Method Description
append ( strign $path, string $content ) : integer File append.
exists ( $file ) : boolean Determine if file is already exists.
make ( $file, $content ) : integer Make a file.
makeDir ( string $path ) : void Make directory.

Method Details

append() public method

File append.
public append ( strign $path, string $content ) : integer
$path strign
$content string
return integer

exists() public method

Determine if file is already exists.
public exists ( $file ) : boolean
$file
return boolean

make() public method

Make a file.
public make ( $file, $content ) : integer
$file
$content
return integer

makeDir() public method

Make directory.
public makeDir ( string $path ) : void
$path string
return void