@@ -25,12 +25,12 @@ |
||
25 | 25 | |
26 | 26 | // Create an Asset |
27 | 27 | $asset = AssetFactory::build( |
28 | - "$root/tests/video.mp4", // path to file, or a Flysystem\File object |
|
29 | - 'My Video', // optional title |
|
30 | - 'This is an awesome video', // optional description |
|
28 | + "$root/tests/video.mp4", // path to file, or a Flysystem\File object |
|
29 | + 'My Video', // optional title |
|
30 | + 'This is an awesome video', // optional description |
|
31 | 31 | ['test', 'asset-distributor'] // optional array of tags |
32 | 32 | ); |
33 | -$asset->setVisibility('private'); // Make video private (public by default) |
|
33 | +$asset->setVisibility('private'); // Make video private (public by default) |
|
34 | 34 | |
35 | 35 | // Create a collection of Adapters that will manage the Asset with Owner credentials |
36 | 36 | $adapters = new AdapterCollection; |