PHP Interface Eloquent\Phony\Invocation\WrappedInvocable

Inheritance: extends Eloquent\Phony\Invocation\Invocable
Show file Open project: eloquent/phony

Public Methods

Method Description
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

callback() public method

Get the callback.
public callback ( ) : callable
return callable The callback.

isAnonymous() public method

Returns true if anonymous.
public isAnonymous ( ) : boolean
return boolean True if anonymous.

label() public method

Get the label.
public label ( ) : string | null
return string | null The label.

setLabel() public method

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