2 namespace wcf\system\package
;
3 use wcf\system\setup\IFileHandler
;
6 * Abstract file handler implementation for all file installations during the package
10 * @copyright 2001-2018 WoltLab GmbH
11 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 * @package WoltLabSuite\Core\System\Package
14 abstract class PackageInstallationFileHandler
implements IFileHandler
{
16 * abbreviation of the application the files belong to
19 protected $application = '';
22 * active package installation dispatcher
23 * @var PackageInstallationDispatcher
25 protected $packageInstallation;
28 * Creates a new PackageInstallationFileHandler object.
30 * @param PackageInstallationDispatcher $packageInstallation
31 * @param string $application
33 public function __construct(PackageInstallationDispatcher
$packageInstallation, $application) {
34 $this->packageInstallation
= $packageInstallation;
35 $this->application
= $application;