$processExecutor
$processExecutor :
__construct(\Composer\Util\ProcessExecutor $executor = null)
\Composer\Util\ProcessExecutor | $executor |
removeDirectoryPhp(string $directory) : boolean
Recursively delete directory using PHP iterators.
Uses a CHILD_FIRST RecursiveIteratorIterator to sort files before directories, creating a single non-recursive loop to delete files/directories in the correct order.
string | $directory |
findShortestPath(string $from, string $to, boolean $directories = false) : string
Returns the shortest path from $from to $to
string | $from | |
string | $to | |
boolean | $directories | if true, the source/target are considered to be directories |
findShortestPathCode(string $from, string $to, boolean $directories = false, boolean $staticCode = false) : string
Returns PHP code that, when executed in $from, will return the path to $to
string | $from | |
string | $to | |
boolean | $directories | if true, the source/target are considered to be directories |
boolean | $staticCode |