PHP Class Eloquent\Phony\Invocation\AbstractWrappedInvocable

Inheritance: extends AbstractInvocable, implements Eloquent\Phony\Invocation\WrappedInvocable
Afficher le fichier Open project: eloquent/phony Class Usage Examples

Protected Properties

Свойство Type Description
$callback
$isAnonymous
$label

Méthodes publiques

Méthode Description
__construct ( callable | null $callback, string | null $label ) Construct a new wrapped invocable.
callback ( ) : callable Get the callback.
isAnonymous ( ) : boolean Returns true if anonymous.
label ( ) : string | null Get the label.
setLabel ( string | null $label ) Set the label.

Method Details

__construct() public méthode

Construct a new wrapped invocable.
public __construct ( callable | null $callback, string | null $label )
$callback callable | null The callback.
$label string | null The label.

callback() public méthode

Get the callback.
public callback ( ) : callable
Résultat callable The callback.

isAnonymous() public méthode

Returns true if anonymous.
public isAnonymous ( ) : boolean
Résultat boolean True if anonymous.

label() public méthode

Get the label.
public label ( ) : string | null
Résultat string | null The label.

setLabel() public méthode

Set the label.
public setLabel ( string | null $label )
$label string | null The label.

Property Details

$callback protected_oe property

protected $callback

$isAnonymous protected_oe property

protected $isAnonymous

$label protected_oe property

protected $label