소스 검색

Use getPackageBasePath instead of getInstallPath

As LibraryInstaller uses getPackageBasePath for uninstall: https://github.com/composer/composer/blob/master/src/Composer/Installer/LibraryInstaller.php#L126
Fabian Vogler 11 년 전
부모
커밋
7b43d4909c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      doc/articles/custom-installers.md

+ 1 - 1
doc/articles/custom-installers.md

@@ -145,7 +145,7 @@ Example:
         /**
          * {@inheritDoc}
          */
-        public function getInstallPath(PackageInterface $package)
+        public function getPackageBasePath(PackageInterface $package)
         {
             $prefix = substr($package->getPrettyName(), 0, 23);
             if ('phpdocumentor/template-' !== $prefix) {