Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
createDelegate ($source, $dest) | |
getRelativePath ($from, $to) | |
![]() | |
__construct ($sourceDir, $destDir) | |
deploy () | |
clean () | |
isForced () | |
setIsForced ($forced=true) | |
getMappings () | |
setMappings (array $mappings) | |
getCurrentMapping () | |
setCurrentMapping ($mapping) | |
setIgnoredMappings ($ignoredMappings) | |
getIgnoredMappings () | |
addMapping ($key, $value) | |
create ($source, $dest) | |
remove ($source, $dest) | |
rmEmptyDirsRecursive ($dir, $stopDir=null) | |
Additional Inherited Members | |
![]() | |
static | rmdirRecursive ($dir) |
![]() | |
getDestDir () | |
getSourceDir () | |
isDestinationIgnored ($destination) | |
removeTrailingSlash ($path) | |
removeContentOfCategory ($sourcePath, $destPath) | |
createDelegate ($source, $dest) | |
![]() | |
$mappings = array() | |
$currentMapping = array() | |
$ignoredMappings = array() | |
$destDir | |
$sourceDir | |
$isForced = false | |
Symlink deploy strategy
Definition at line 11 of file Symlink.php.
createDelegate | ( | $source, | |
$dest | |||
) |
Creates a symlink with lots of error-checking
string | $source | |
string | $dest |
Definition at line 21 of file Symlink.php.
getRelativePath | ( | $from, | |
$to | |||
) |
Returns the relative path from $from to $to This is utility method for symlink creation.
string | $from | |
string | $to |
Definition at line 124 of file Symlink.php.