Automattic\WooCommerce\Internal\DependencyManagement
ContainerException::__construct() public WC 1.0
Create a new instance of the class.
{} Это метод класса: ContainerException{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$ContainerException = new ContainerException(); $ContainerException->__construct( $message, $code, $previous );
- $message(null)
- The exception message to throw.
По умолчанию: null - $code(число)
- The error code.
По умолчанию: 0 - $previous(Exception)
- The previous throwable used for exception chaining.
По умолчанию: null
Код ContainerException::__construct() ContainerException:: construct WC 4.9.0
public function __construct( $message = null, $code = 0, Exception $previous = null ) {
parent::__construct( $message, $code, $previous );
}