Resolve language item-related PIP GUI todos
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / package / PackageInstallationFileHandler.class.php
1 <?php
2 namespace wcf\system\package;
3 use wcf\system\setup\IFileHandler;
4
5 /**
6 * Abstract file handler implementation for all file installations during the package
7 * installation.
8 *
9 * @author Marcel Werk
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
13 */
14 abstract class PackageInstallationFileHandler implements IFileHandler {
15 /**
16 * abbreviation of the application the files belong to
17 * @var string
18 */
19 protected $application = '';
20
21 /**
22 * active package installation dispatcher
23 * @var PackageInstallationDispatcher
24 */
25 protected $packageInstallation;
26
27 /**
28 * Creates a new PackageInstallationFileHandler object.
29 *
30 * @param PackageInstallationDispatcher $packageInstallation
31 * @param string $application
32 */
33 public function __construct(PackageInstallationDispatcher $packageInstallation, $application) {
34 $this->packageInstallation = $packageInstallation;
35 $this->application = $application;
36 }
37 }