PHP Class LEtudiant\Composer\Util\SymlinkFilesystem

Author: Sylvain Lorinet ([email protected])
Inheritance: extends Composer\Util\Filesystem
显示文件 Open project: letudiant/composer-shared-package-plugin Class Usage Examples

Public Methods

Method Description
ensureSymlinkExists ( string $sourcePath, string $symlinkPath ) : boolean Create a symlink
removeEmptyDirectory ( string $directoryPath ) : boolean
removeSymlink ( string $symlinkPath ) : boolean

Method Details

ensureSymlinkExists() public method

Create a symlink
public ensureSymlinkExists ( string $sourcePath, string $symlinkPath ) : boolean
$sourcePath string
$symlinkPath string
return boolean

removeEmptyDirectory() public method

public removeEmptyDirectory ( string $directoryPath ) : boolean
$directoryPath string
return boolean