You are here

class WordPressInstaller in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php \Composer\Installers\WordPressInstaller

Hierarchy

Expanded class hierarchy of WordPressInstaller

File

vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php, line 4

Namespace

Composer\Installers
View source
class WordPressInstaller extends BaseInstaller {
  protected $locations = array(
    'plugin' => 'wp-content/plugins/{$name}/',
    'theme' => 'wp-content/themes/{$name}/',
    'muplugin' => 'wp-content/mu-plugins/{$name}/',
  );

}

Members

Namesort descending Modifiers Type Description Overrides
BaseInstaller::$composer protected property
BaseInstaller::$package protected property
BaseInstaller::getInstallPath public function Return the install path based on package type. 1
BaseInstaller::getLocations public function Gets the installer's locations 1
BaseInstaller::inflectPackageVars public function For an installer to override to modify the vars per installer. 16
BaseInstaller::mapCustomInstallPaths protected function Search through a passed paths array for a custom install path.
BaseInstaller::templatePath protected function Replace vars in a path
BaseInstaller::__construct public function Initializes base installer.
WordPressInstaller::$locations protected property Overrides BaseInstaller::$locations