Overview

Namespaces

  • Alchemy
    • core
      • query
      • schema
    • dialect
    • engine
    • orm
    • tests
    • util
      • promise
  • PHP

Classes

  • ANSICompilerTest
  • ANSIDeleteTest
  • ANSIInsertTest
  • ANSISelectTest
  • ANSIUpdateTest
  • BaseTest
  • ColumnTypeTest
  • CompilerTest
  • DataTypeLexerTest
  • ElementTest
  • ExpressionTest
  • ForeignTest
  • InsertTest
  • Language
  • MapperTest
  • MockElement
  • MockPromisable
  • ORMQueryTest
  • PromiseTest
  • QueryTest
  • RelationshipTest
  • ScalarTest
  • SessionIntegrationTest
  • SignalTest
  • UploadedFile
  • WaitableTest
  • Overview
  • Namespace
  • Class
  • Tree

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
Namespace: Alchemy\tests
Located at tests/util/promise/PromiseTest.php
Methods summary
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.

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.

Returns

array(method_name
=> class_name, ...)

Implementation of

Alchemy\util\promise\IPromisable::list_promisable_methods()
public
# promisableMethod( )
public
# normalMethod( )
API documentation generated by ApiGen 2.8.0