Documentation

ConsoleRequiredConstraint extends BaseConstraint
in package

Table of Contents

$context  : IRunnable
__construct()  : mixed
BaseConstraint constructor.
getContext()  : IRunnable
isVisibleTo()  : bool
onFailure()  : void
test()  : bool

Properties

Methods

__construct()

BaseConstraint constructor.

public __construct(IRunnable $context) : mixed

"Context" is required so that this new-constraint-system doesn't hinder getting command info

Parameters
$context : IRunnable
Return values
mixed

Search results