File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
src/OpenMage/ComposerPlugin/Copy Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -261,11 +261,26 @@ protected function getMageRootDirectoryFromComposer(): string
261261 return '' ;
262262 }
263263
264+ protected function getCopyTargetPath (): string
265+ {
266+ return sprintf (
267+ '%s/%s%s ' ,
268+ $ this ->getCwd (),
269+ $ this ->getMageRootDirectoryFromComposer (),
270+ $ this ->getCopyTarget (),
271+ );
272+ }
273+
264274 protected function getInstalledComposerPackage (string $ vendorName ): ?BasePackage
265275 {
266276 return $ this ->composerPackages [$ vendorName ] ?? null ;
267277 }
268278
279+ protected function setInstalledComposerPackage (string $ vendorName , BasePackage $ package ): void
280+ {
281+ $ this ->composerPackages [$ vendorName ] = $ package ;
282+ }
283+
269284 public function getFileSystem (): Filesystem
270285 {
271286 return new Filesystem ();
You can’t perform that action at this time.
0 commit comments