PAGI\Node\MockedNode::doBeforeFailedInput PHP Метод

doBeforeFailedInput() публичный Метод

Execute a callback before invoking the real callback for failed input.
public doBeforeFailedInput ( Closure $callback ) : MockedNode
$callback Closure
Результат MockedNode
    public function doBeforeFailedInput(\Closure $callback)
    {
        $this->failedInputCallback = $callback;
        return $this;
    }