TYPO3
7.6
|
Public Member Functions | |
__construct (\Composer\Composer $composer, Filesystem $filesystem, CoreInstaller\GetTypo3OrgService $getTypo3OrgService) | |
supports ($packageType) | |
isInstalled (\Composer\Repository\InstalledRepositoryInterface $repo,\Composer\Package\PackageInterface $package) | |
install (\Composer\Repository\InstalledRepositoryInterface $repo,\Composer\Package\PackageInterface $package) | |
update (\Composer\Repository\InstalledRepositoryInterface $repo,\Composer\Package\PackageInterface $initial,\Composer\Package\PackageInterface $target) | |
uninstall (\Composer\Repository\InstalledRepositoryInterface $repo,\Composer\Package\PackageInterface $package) | |
getInstallPath (\Composer\Package\PackageInterface $package) | |
Public Attributes | |
const | TYPO3_DIR = 'typo3' |
const | TYPO3_INDEX_PHP = 'index.php' |
Protected Member Functions | |
initializeConfiguration () | |
initializeSymlinks () | |
determineInstallPath () | |
installCode (\Composer\Package\PackageInterface $package) | |
updateCode (\Composer\Package\PackageInterface $initial,\Composer\Package\PackageInterface $target) | |
removeCode (\Composer\Package\PackageInterface $package) | |
Protected Attributes | |
$symlinks = array() | |
$composer | |
$downloadManager | |
$filesystem | |
$getTypo3OrgService | |
$pluginConfig | |
Definition at line 36 of file CoreInstaller.php.
__construct | ( | \Composer\Composer | $composer, |
Filesystem | $filesystem, | ||
CoreInstaller\GetTypo3OrgService | $getTypo3OrgService | ||
) |
\Composer\Composer | $composer | |
Filesystem | $filesystem |
Definition at line 72 of file CoreInstaller.php.
References CoreInstaller\$composer, CoreInstaller\$filesystem, CoreInstaller\$getTypo3OrgService, CoreInstaller\initializeConfiguration(), and CoreInstaller\initializeSymlinks().
|
protected |
Definition at line 207 of file CoreInstaller.php.
Referenced by CoreInstaller\getInstallPath(), and CoreInstaller\initializeSymlinks().
getInstallPath | ( | \Composer\Package\PackageInterface | $package | ) |
Returns the installation path of a package
\Composer\Package\PackageInterface | $package |
Definition at line 200 of file CoreInstaller.php.
References CoreInstaller\determineInstallPath().
Referenced by CoreInstaller\installCode(), CoreInstaller\isInstalled(), CoreInstaller\removeCode(), and CoreInstaller\updateCode().
|
protected |
Read plugin configuration
Definition at line 84 of file CoreInstaller.php.
References Config\load().
Referenced by CoreInstaller\__construct().
|
protected |
Initialize symlinks with configuration
Definition at line 91 of file CoreInstaller.php.
References CoreInstaller\determineInstallPath().
Referenced by CoreInstaller\__construct().
install | ( | \Composer\Repository\InstalledRepositoryInterface | $repo, |
\Composer\Package\PackageInterface | $package | ||
) |
Installs specific package.
\Composer\Repository\InstalledRepositoryInterface | $repo | repository in which to check |
\Composer\Package\PackageInterface | $package | package instance |
Definition at line 134 of file CoreInstaller.php.
References CoreInstaller\installCode().
|
protected |
\Composer\Package\PackageInterface | $package |
Definition at line 214 of file CoreInstaller.php.
References CoreInstaller\getInstallPath().
Referenced by CoreInstaller\install(), and CoreInstaller\updateCode().
isInstalled | ( | \Composer\Repository\InstalledRepositoryInterface | $repo, |
\Composer\Package\PackageInterface | $package | ||
) |
Checks that provided package is installed.
\Composer\Repository\InstalledRepositoryInterface | $repo | repository in which to check |
\Composer\Package\PackageInterface | $package | package instance |
Definition at line 122 of file CoreInstaller.php.
References CoreInstaller\getInstallPath().
|
protected |
\Composer\Package\PackageInterface | $package |
Definition at line 248 of file CoreInstaller.php.
References CoreInstaller\getInstallPath().
Referenced by CoreInstaller\uninstall(), and CoreInstaller\updateCode().
supports | ( | $packageType | ) |
Returns if this installer can install that package type
string | $packageType |
Definition at line 110 of file CoreInstaller.php.
uninstall | ( | \Composer\Repository\InstalledRepositoryInterface | $repo, |
\Composer\Package\PackageInterface | $package | ||
) |
Uninstalls specific package.
\Composer\Repository\InstalledRepositoryInterface | $repo | repository in which to check |
\Composer\Package\PackageInterface | $package | package instance |
Definition at line 181 of file CoreInstaller.php.
References CoreInstaller\removeCode().
update | ( | \Composer\Repository\InstalledRepositoryInterface | $repo, |
\Composer\Package\PackageInterface | $initial, | ||
\Composer\Package\PackageInterface | $target | ||
) |
Updates specific package.
\Composer\Repository\InstalledRepositoryInterface | $repo | repository in which to check |
\Composer\Package\PackageInterface | $initial | already installed package version |
\Composer\Package\PackageInterface | $target | updated version |
Definition at line 157 of file CoreInstaller.php.
References CoreInstaller\updateCode().
|
protected |
\Composer\Package\PackageInterface | $initial | |
\Composer\Package\PackageInterface | $target |
Definition at line 223 of file CoreInstaller.php.
References CoreInstaller\getInstallPath(), CoreInstaller\installCode(), and CoreInstaller\removeCode().
Referenced by CoreInstaller\update().
|
protected |
Definition at line 46 of file CoreInstaller.php.
Referenced by CoreInstaller\__construct().
|
protected |
Definition at line 51 of file CoreInstaller.php.
|
protected |
Definition at line 56 of file CoreInstaller.php.
Referenced by CoreInstaller\__construct().
|
protected |
Definition at line 61 of file CoreInstaller.php.
Referenced by CoreInstaller\__construct().
|
protected |
Definition at line 66 of file CoreInstaller.php.
|
protected |
Definition at line 41 of file CoreInstaller.php.
const TYPO3_DIR = 'typo3' |
Definition at line 38 of file CoreInstaller.php.
const TYPO3_INDEX_PHP = 'index.php' |
Definition at line 39 of file CoreInstaller.php.