-
Backend
-
Behaviors
-
Classes
-
Controllers
-
Database
-
Seeds
-
-
Facades
-
FormWidgets
-
Helpers
-
Models
-
ReportWidgets
-
Skins
-
Traits
-
VueComponents
-
Widgets
- ServiceProvider
-
-
Cms
-
Classes
- Asset
- CmsCompoundObject
- CmsController
- CmsException
- CmsObject
- CmsObjectCollection
- CodeBase
- CodeParser
- ComponentBase
- ComponentHelpers
- ComponentManager
- ComponentPartial
- Content
- Controller
- EditorExtension
- Layout
- LayoutCode
- MediaLibrary
- MediaLibraryItem
- MediaViewHelper
- Meta
- ObjectMemoryCache
- Page
- PageCode
- Partial
- PartialCode
- PartialStack
- Router
- Theme
- ThemeManager
-
Components
-
Controllers
-
Facades
-
FormWidgets
-
Helpers
-
Models
-
ReportWidgets
-
Traits
-
Twig
- ComponentNode
- ComponentTokenParser
- ContentNode
- ContentTokenParser
- DebugExtension
- DefaultNode
- DefaultTokenParser
- Extension
- FlashNode
- FlashTokenParser
- FrameworkNode
- FrameworkTokenParser
- Loader
- PageNode
- PageTokenParser
- PartialNode
- PartialTokenParser
- PlaceholderNode
- PlaceholderTokenParser
- PutNode
- PutTokenParser
- ScriptsNode
- ScriptsTokenParser
- StylesNode
- StylesTokenParser
-
VueComponents
-
Widgets
- ServiceProvider
-
-
Editor
-
Behaviors
-
Classes
-
Controllers
-
VueComponents
- ServiceProvider
-
-
Media
-
Classes
-
Controllers
-
FormWidgets
-
Twig
-
Widgets
- ServiceProvider
-
-
System
-
Behaviors
-
Classes
-
Console
-
OctoberUtil
- ComposerScript
- OctoberDown
- OctoberFresh
- OctoberMigrate
- OctoberMirror
- OctoberPasswd
- OctoberUp
- OctoberUpdate
- OctoberUtil
- PluginCheck
- PluginDisable
- PluginEnable
- PluginInstall
- PluginList
- PluginRefresh
- PluginRemove
- ProjectSet
- ProjectSync
- ThemeCheck
- ThemeInstall
- ThemeList
- ThemeRemove
- ThemeSync
- ThemeUse
-
-
Controllers
-
Database
-
Facades
-
Helpers
-
Models
-
ReportWidgets
-
Traits
-
Twig
-
Widgets
- ServiceProvider
-
-
Events
-
backend
-
ajax
-
filter
-
form
-
list
-
menu
-
page
-
user
-
-
cms
-
ajax
-
block
-
combiner
-
component
-
object
-
page
-
resizer
-
router
-
template
-
theme
-
-
exception
-
halcyon
-
datasource
-
-
mailer
-
media
-
model
-
auth
-
form
-
relation
-
/docs/api/model/relation/add
-
/docs/api/model/relation/associate
- attach
-
/docs/api/model/relation/beforeadd
-
/docs/api/model/relation/beforeassociate
- beforeAttach
- beforeDetach
-
/docs/api/model/relation/beforedissociate
-
/docs/api/model/relation/beforeremove
- detach
-
/docs/api/model/relation/dissociate
-
/docs/api/model/relation/remove
-
- afterBoot
- afterCreate
- afterDelete
- afterFetch
- afterRestore
- afterSave
- afterUpdate
- afterValidate
- beforeCreate
- beforeDelete
- beforeFetch
- beforeGetAttribute
- beforeRestore
- beforeSave
- beforeSetAttribute
- beforeUpdate
- beforeValidate
- getAttribute
- saveInternal
- setAttribute
-
-
system
-
assets
-
console
-
mirror
-
theme
-
-
reportwidgets
-
resizer
-
settings
- extendConfigFile
-
-
translator
-
-
Library
-
Argon
-
Assetic
-
Asset
-
Cache
-
Exception
-
Factory
-
Filter
- BaseCssFilter
- CallablesFilter
- CssCacheBustingFilter
- CssImportFilter
- CssMinFilter
- CssRewriteFilter
- FilterCollection
- JavascriptImporter
- JSMinFilter
- JSMinPlusFilter
- JSqueezeFilter
- LessCompiler
- LessphpFilter
- MinifyCssCompressorFilter
- PackagerFilter
- PackerFilter
- ScssCompiler
- ScssphpFilter
- StylesheetMinify
-
Util
- README
- AssetManager
- AssetWriter
- FilterManager
-
-
Auth
-
Models
- AuthException
- Manager
-
-
Config
-
Database
-
Attach
-
Behaviors
-
Concerns
-
Connections
-
Connectors
-
Models
-
Relations
-
Schema
-
Traits
-
Updates
- README
- Builder
- Collection
- DatabaseServiceProvider
- DataFeed
- Dongle
- MemoryCache
- MigrationServiceProvider
- Model
- ModelBehavior
- ModelException
- MorphPivot
- NestedTreeScope
- Pivot
- QueryBuilder
- SortableScope
- TreeCollection
- Updater
-
-
Events
-
Exception
-
Extension
-
Filesystem
-
Flash
-
Foundation
-
Bootstrap
-
Console
-
Exception
-
Http
-
Middleware
- Kernel
-
-
Providers
- Application
- Maker
-
-
Halcyon
-
Datasource
-
Exception
-
Processors
-
Traits
- README
- Builder
- Collection
- HalcyonServiceProvider
- MemoryCacheManager
- MemoryRepository
- Model
-
-
Html
-
Mail
-
Network
-
Parse
-
Parsedown
-
Syntax
- Bracket
- Ini
- Markdown
- MarkdownData
- ParseServiceProvider
- Twig
- Yaml
-
-
Process
-
Resize
-
Router
-
Scaffold
-
Support
-
Translation
-
- Documentation
- API
- System
- Console
- ThemeRemove
System\Console\ThemeRemove
Extends:
- Illuminate\Console\Command
- Symfony\Component\Console\Command\Command
ThemeRemove removes a theme.
This completely deletes an existing theme, including all files and directories.
Protected properties
protected string $name
name of console command
protected string $description
description of the console command
Show inherited protected properties
Inherited protected properties
- protected Illuminate\Contracts\Foundation\Application $laravel - defined in Illuminate\Console\Command. The Laravel application instance.
- protected string $signature - defined in Illuminate\Console\Command. The name and signature of the console command.
- protected string|null $help - defined in Illuminate\Console\Command. The console command help text.
- protected bool $hidden - defined in Illuminate\Console\Command. Indicates whether the command should be shown in the Artisan command list.
- protected static string|null $defaultName - defined in Symfony\Component\Console\Command\Command. The default command name.
- protected Symfony\Component\Console\Input\InputInterface $input - defined in Illuminate\Console\Command. The input interface implementation.
- protected Illuminate\Console\OutputStyle $output - defined in Illuminate\Console\Command. The output interface implementation.
- protected int $verbosity - defined in Illuminate\Console\Command. The default verbosity of output commands.
- protected array $verbosityMap - defined in Illuminate\Console\Command. The mapping between human readable verbosity levels and Symfony's OutputInterface.
- protected static array $macros - defined in Illuminate\Console\Command. The registered string macros.
Public methods
public bool confirmToProceed(string $warning='Application In Production!', Closure|bool|null $callback=NULL)
Confirm before proceeding with the action.
This method only asks for confirmation in production.
Parameters
- string $warning
- Closure|bool|null $callback
public void handle()
handle executes the console command
Inherited public methods
- public mixed __call(string $method, array $parameters) - defined in Illuminate\Console\Command. Dynamically handle calls to the class.
- public static mixed __callStatic(string $method, array $parameters) - defined in Illuminate\Console\Command. Dynamically handle calls to the class.
- public void __construct() - defined in Illuminate\Console\Command. Create a new console command instance.
- public $this addArgument(string $name, int|null $mode=NULL, string $description='', array $default=NULL) - defined in Symfony\Component\Console\Command\Command. Adds an argument.
- public $this addOption(string $name, string|array|null $shortcut=NULL, int|null $mode=NULL, string $description='', array $default=NULL) - defined in Symfony\Component\Console\Command\Command. Adds an option.
- public $this addUsage(string $usage) - defined in Symfony\Component\Console\Command\Command. Add a command usage example.
- public void alert(string $string) - defined in Illuminate\Console\Command. Write a string in an alert box.
- public mixed anticipate(string $question, array|callable $choices, string|null $default=NULL) - defined in Illuminate\Console\Command. Prompt the user for input with auto completion.
- public string|array|null argument(string|null $key=NULL) - defined in Illuminate\Console\Command. Get the value of a command argument.
- public array arguments() - defined in Illuminate\Console\Command. Get all of the arguments passed to the command.
- public mixed ask(string $question, string|null $default=NULL) - defined in Illuminate\Console\Command. Prompt the user for input.
- public mixed askWithCompletion(string $question, array|callable $choices, string|null $default=NULL) - defined in Illuminate\Console\Command. Prompt the user for input with auto completion.
- public int call(Symfony\Component\Console\Command\Command|string $command, array $arguments=array()) - defined in Illuminate\Console\Command. Call another console command.
- public int callSilent(Symfony\Component\Console\Command\Command|string $command, array $arguments=array()) - defined in Illuminate\Console\Command. Call another console command silently.
- public string choice(string $question, array $choices, string|null $default=NULL, mixed|null $attempts=NULL, bool|null $multiple=NULL) - defined in Illuminate\Console\Command. Give the user a single choice from an array of answers.
- public void comment(string $string, int|string|null $verbosity=NULL) - defined in Illuminate\Console\Command. Write a string as comment output.
- public bool confirm(string $question, bool $default=false) - defined in Illuminate\Console\Command. Confirm a question with the user.
- public void error(string $string, int|string|null $verbosity=NULL) - defined in Illuminate\Console\Command. Write a string as error output.
- public array getAliases() - defined in Symfony\Component\Console\Command\Command. Returns the aliases for the command.
- public Application|null getApplication() - defined in Symfony\Component\Console\Command\Command. Gets the application instance for this command.
- public static string|null getDefaultName() - defined in Symfony\Component\Console\Command\Command. Returns the default command name or null when no default name is set
- public InputDefinition getDefinition() - defined in Symfony\Component\Console\Command\Command. Gets the InputDefinition attached to this Command.
- public string getDescription() - defined in Symfony\Component\Console\Command\Command. Returns the description for the command.
- public string getHelp() - defined in Symfony\Component\Console\Command\Command. Returns the help for the command.
- public mixed getHelper(string $name) - defined in Symfony\Component\Console\Command\Command. Gets a helper instance by name.
- public HelperSet|null getHelperSet() - defined in Symfony\Component\Console\Command\Command. Gets the helper set.
- public Illuminate\Contracts\Foundation\Application getLaravel() - defined in Illuminate\Console\Command. Get the Laravel application instance.
- public string|null getName() - defined in Symfony\Component\Console\Command\Command. Returns the command name.
- public InputDefinition getNativeDefinition() - defined in Symfony\Component\Console\Command\Command. Gets the InputDefinition to be used to create representations of this Command.
- public Illuminate\Console\OutputStyle getOutput() - defined in Illuminate\Console\Command. Get the output implementation.
- public string getProcessedHelp() - defined in Symfony\Component\Console\Command\Command. Returns the processed help for the command replacing the %command.name% and.
- public string getSynopsis(bool $short=false) - defined in Symfony\Component\Console\Command\Command. Returns the synopsis for the command.
- public array getUsages() - defined in Symfony\Component\Console\Command\Command. Returns alternative usages of the command.
- public bool hasArgument(string|int $name) - defined in Illuminate\Console\Command. Determine if the given argument is present.
- public static bool hasMacro(string $name) - defined in Illuminate\Console\Command. Checks if macro is registered.
- public bool hasOption(string $name) - defined in Illuminate\Console\Command. Determine if the given option is present.
- public void ignoreValidationErrors() - defined in Symfony\Component\Console\Command\Command. Ignores validation errors.
- public void info(string $string, int|string|null $verbosity=NULL) - defined in Illuminate\Console\Command. Write a string as information output.
- public bool isEnabled() - defined in Symfony\Component\Console\Command\Command. Checks whether the command is enabled or not in the current environment.
- public void isHidden() - defined in Illuminate\Console\Command. {@inheritdoc}.
- public void line(string $string, string|null $style=NULL, int|string|null $verbosity=NULL) - defined in Illuminate\Console\Command. Write a string as standard output.
- public static void macro(string $name, object|callable $macro) - defined in Illuminate\Console\Command. Register a custom macro.
- public void mergeApplicationDefinition(bool $mergeArgs=true) - defined in Symfony\Component\Console\Command\Command. Merges the application definition with the command definition.
- public static void mixin(object $mixin, bool $replace=true) - defined in Illuminate\Console\Command. Mix another object into the class.
- public string|array|bool|null option(string|null $key=NULL) - defined in Illuminate\Console\Command. Get the value of a command option.
- public array options() - defined in Illuminate\Console\Command. Get all of the options passed to the command.
- public void question(string $string, int|string|null $verbosity=NULL) - defined in Illuminate\Console\Command. Write a string as question output.
- public int run(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) - defined in Illuminate\Console\Command. Run the console command.
- public mixed secret(string $question, bool $fallback=true) - defined in Illuminate\Console\Command. Prompt the user for input but hide the answer from the console.
- public $this setAliases(array $aliases) - defined in Symfony\Component\Console\Command\Command. Sets the aliases for the command.
- public void setApplication($application=NULL) - defined in Symfony\Component\Console\Command\Command.
- public $this setCode(callable $code) - defined in Symfony\Component\Console\Command\Command. Sets the code to execute when running this command.
- public $this setDefinition(array|InputDefinition $definition) - defined in Symfony\Component\Console\Command\Command. Sets an array of argument and option instances.
- public $this setDescription(string $description) - defined in Symfony\Component\Console\Command\Command. Sets the description for the command.
- public $this setHelp(string $help) - defined in Symfony\Component\Console\Command\Command. Sets the help for the command.
- public void setHelperSet($helperSet) - defined in Symfony\Component\Console\Command\Command.
- public void setHidden($hidden) - defined in Illuminate\Console\Command. {@inheritdoc}.
- public void setInput(Symfony\Component\Console\Input\InputInterface $input) - defined in Illuminate\Console\Command. Set the input interface implementation.
- public void setLaravel(Illuminate\Contracts\Container\Container $laravel) - defined in Illuminate\Console\Command. Set the Laravel application instance.
- public $this setName(string $name) - defined in Symfony\Component\Console\Command\Command. Sets the name of the command.
- public void setOutput(Illuminate\Console\OutputStyle $output) - defined in Illuminate\Console\Command. Set the output interface implementation.
- public $this setProcessTitle(string $title) - defined in Symfony\Component\Console\Command\Command. Sets the process title of the command.
- public void table(array $headers, Illuminate\Contracts\Support\Arrayable|array $rows, string $tableStyle='default', array $columnStyles=array()) - defined in Illuminate\Console\Command. Format input to textual table.
- public void warn(string $string, int|string|null $verbosity=NULL) - defined in Illuminate\Console\Command. Write a string as warning output.
Protected methods
protected void getArguments()
getArguments get the console command arguments
protected Closure getDefaultConfirmCallback()
Get the default confirmation callback.
protected void getOptions()
getOptions get the console command options
Show inherited protected methods
Inherited protected methods
- protected void configure() - defined in Symfony\Component\Console\Command\Command. Configures the current command.
- protected void configureUsingFluentDefinition() - defined in Illuminate\Console\Command. Configure the console command using a fluent definition.
- protected array context() - defined in Illuminate\Console\Command. Get all of the context passed to the command.
- protected Symfony\Component\Console\Input\ArrayInput createInputFromArguments(array $arguments) - defined in Illuminate\Console\Command. Create an input instance from the given arguments.
- protected mixed execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) - defined in Illuminate\Console\Command. Execute the console command.
- protected void initialize($input, $output) - defined in Symfony\Component\Console\Command\Command. Initializes the command after the input has been bound and before the input.
- protected void interact($input, $output) - defined in Symfony\Component\Console\Command\Command. Interacts with the user.
- protected int parseVerbosity(string|int|null $level=NULL) - defined in Illuminate\Console\Command. Get the verbosity level in terms of Symfony's OutputInterface level.
- protected Symfony\Component\Console\Command\Command resolveCommand(Symfony\Component\Console\Command\Command|string $command) - defined in Illuminate\Console\Command. Resolve the console command instance for the given command.
- protected int runCommand(Symfony\Component\Console\Command\Command|string $command, array $arguments, Symfony\Component\Console\Output\OutputInterface $output) - defined in Illuminate\Console\Command. Run the given the console command.
- protected void setVerbosity(string|int $level) - defined in Illuminate\Console\Command. Set the verbosity level.
- protected void specifyParameters() - defined in Illuminate\Console\Command. Specify the arguments and options on the command.