Rename ShellHelper to BaseShellHelper to avoid potential naming conflicts with existing apps

This commit is contained in:
Gareth Ellis 2015-12-14 09:47:22 +00:00
parent 7ba19c717e
commit 75cabfe78b
4 changed files with 6 additions and 6 deletions

View file

@ -13,7 +13,7 @@
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
abstract class ShellHelper {
abstract class BaseShellHelper {
/**
* Default config for this helper.

View file

@ -12,12 +12,12 @@
* @since 2.8
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
App::uses("ShellHelper", "Console/Helper");
App::uses("BaseShellHelper", "Console/Helper");
/**
* Create a progress bar using a supplied callback.
*/
class ProgressShellHelper extends ShellHelper {
class ProgressShellHelper extends BaseShellHelper {
/**
* The current progress.

View file

@ -12,13 +12,13 @@
* @since 2.8
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
App::uses("ShellHelper", "Console/Helper");
App::uses("BaseShellHelper", "Console/Helper");
/**
* Create a visually pleasing ASCII art table
* from 2 dimensional array data.
*/
class TableShellHelper extends ShellHelper {
class TableShellHelper extends BaseShellHelper {
/**
* Default config for this helper.

View file

@ -789,7 +789,7 @@ class Shell extends Object {
* Load given shell helper class
*
* @param string $name Name of the helper class. Supports plugin syntax.
* @return ShellHelper Instance of helper class
* @return BaseShellHelper Instance of helper class
* @throws RuntimeException If invalid class name is provided
*/
public function helper($name) {