\Installer\Shell\TaskPluginUpdateTask

Plugins updater.

Summary

Methods
Properties
Constants
startup()
getOptionParser()
main()
No public properties found
No constants found
_init()
_canBeDeleted()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

startup()

startup() : void

Removes the welcome message.

getOptionParser()

getOptionParser() : \Cake\Console\ConsoleOptionParser

Gets the option parser instance and configures it.

Returns

\Cake\Console\ConsoleOptionParser

main()

main() : boolean

Task main method.

Returns

boolean

_init()

_init() : boolean

Prepares this task and the package to be installed.

Returns

boolean —

True on success

_canBeDeleted()

_canBeDeleted(string $path) : boolean

Recursively checks if the given directory (and its content) can be deleted.

This method automatically registers an error message if validation fails.

Parameters

string $path

Directory to check

Returns

boolean