PHP Class Composer\Installers\CakePHPInstaller

Inheritance: extends Composer\Installers\BaseInstaller
Show file Open project: composer/installers Class Usage Examples

Protected Properties

Property Type Description
$locations

Public Methods

Method Description
getLocations ( ) Change the default plugin location when cakephp >= 3.0
inflectPackageVars ( $vars ) Format package name to CamelCase

Protected Methods

Method Description
matchesCakeVersion ( string $matcher, string $version ) : boolean Check if CakePHP version matches against a version

Method Details

getLocations() public method

Change the default plugin location when cakephp >= 3.0
public getLocations ( )

inflectPackageVars() public method

Format package name to CamelCase
public inflectPackageVars ( $vars )

matchesCakeVersion() protected method

Check if CakePHP version matches against a version
protected matchesCakeVersion ( string $matcher, string $version ) : boolean
$matcher string
$version string
return boolean

Property Details

$locations protected property

protected $locations