AbstractCommand implements Command, ContainerAwareInterface
Parent Command class.
Tags
Interfaces, Classes and Traits
- Command
- Interface for building WP CLI commands.
- ContainerAwareInterface
Table of Contents
- $container : ContainerInterface|null
- __toString() : string
- getContainer() : ContainerInterface|null
- setContainer() : void
Properties
$container
private
ContainerInterface|null
$container
= null
Methods
__toString()
public
abstract __toString() : string
Return values
string —getContainer()
public
getContainer() : ContainerInterface|null
Return values
ContainerInterface|null —setContainer()
public
setContainer([ContainerInterface|null $container = null ]) : void
Parameters
- $container : ContainerInterface|null = null