Overview

Namespaces

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

Classes

  • Promise
  • Signal
  • SignalFn_Then
  • Waitable

Interfaces

  • IPromisable

Exceptions

  • SerializableException
  • TimeoutException
  • TypeException
  • Overview
  • Namespace
  • Class
  • Tree

Interface IPromisable

An interface for objects that are functionally identical when composed with Promises; in other words, they must be immutable and time-independent.

Direct known implementers

Alchemy\core\query\ColumnRef, Alchemy\core\query\TableRef, Alchemy\core\schema\Column, Alchemy\core\schema\Table, Alchemy\tests\MockPromisable

Indirect known implementers

Alchemy\core\schema\Foreign, Alchemy\orm\ORMTable, Alchemy\orm\ORMTableRef
Namespace: Alchemy\util\promise
Located at alchemy/util/promise/IPromisable.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, ...)
API documentation generated by ApiGen 2.8.0