CakeFest 2024: The Official CakePHP Conference

Fiber::getReturn

(PHP 8 >= 8.1.0)

Fiber::getReturnObtém o valor retornado pela Fiber

Descrição

public Fiber::getReturn(): mixed

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

Retorna o valor retornado pela callable fornecida a Fiber::__construct(). Se a Fiber não retornou um valor, por não ter iniciado ou terminado, ou por ter disparado uma exceção, uma FiberError será disparada.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top