Commit bf0b0d2 1 parent 668bfce commit bf0b0d2 Copy full SHA for bf0b0d2
File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,19 @@ Install files in a project as part of a `composer install` or `composer update`.
7
7
``` php
8
8
<?php
9
9
// Create a file mapping.
10
- $mappingFilePaths = new UnixFileMapping(
11
- __DIR__ . '/../folder/files',
12
- getcwd(),
13
- ['./dir/one','./dir/two']
14
-
15
- );
10
+ $mappingFilePaths = new UnixFileMapping(
11
+ __DIR__ . '/../folder/files',
12
+ getcwd(),
13
+ ['./dir/one','./dir/two']
14
+
15
+ );
16
16
17
17
// Get a file mapping reader.
18
18
$reader = new UnixFileMappingReader($sourceDirectory, $targetDirectory, $mappingFilePaths);
19
19
20
20
// Get an installer, supply with the file mapping reader.
21
21
$installer = new FileInstaller($reader);
22
22
23
- // Install according to mapping, supply with Composer IOInterface.
24
- $installer->install($io);
23
+ // Install according to mapping, supply with Composer IOInterface.
24
+ $installer->install($io);
25
25
```
You can’t perform that action at this time.
0 commit comments