Class MockPromisable
An interface for objects that are functionally identical when composed with Promises; in other words, they must be immutable and time-independent.
- Alchemy\tests\MockPromisable implements Alchemy\util\promise\IPromisable
public static
array(method_name
|
#
list_promisable_methods( )
Returns an array mapping promisable methods to return types. A promisable method is one that is dependent only on immutable inputs and is guaranteed to return an instance of a certain type. |
public
|
|
public
|