PHP Class Pagekit\Installer\Controller\PackageController

Show file Open project: pagekit/pagekit

Protected Properties

Property Type Description
$manager Pagekit\Installer\Package\PackageManager

Public Methods

Method Description
__construct ( )
disableAction ( $name )
enableAction ( $name )
extensionsAction ( )
installAction ( $package = [], $packagist = false )
themesAction ( )
uninstallAction ( $name )
uploadAction ( $type )

Protected Methods

Method Description
errorHandler ( string $name ) : callable | null
loadPackage ( $file )

Method Details

__construct() public method

public __construct ( )

disableAction() public method

public disableAction ( $name )

enableAction() public method

public enableAction ( $name )

errorHandler() protected method

protected errorHandler ( string $name ) : callable | null
$name string
return callable | null

extensionsAction() public method

public extensionsAction ( )

installAction() public method

public installAction ( $package = [], $packagist = false )

loadPackage() protected method

protected loadPackage ( $file )

themesAction() public method

public themesAction ( )

uninstallAction() public method

public uninstallAction ( $name )

uploadAction() public method

public uploadAction ( $type )

Property Details

$manager protected property

protected PackageManager,Pagekit\Installer\Package $manager
return Pagekit\Installer\Package\PackageManager