Method | Description | |
---|---|---|
assertInt ( $int ) | ||
assertString ( $str ) | ||
classNameForMock ( $class_name ) | ||
enforce ( $invariant, $msg ) | ||
getDoubleImplementation ( $double ) | ||
getInterfacesAndTraits ( array $interfaces = [] ) | ||
isHHVM ( ) | ||
mockClassNameFor ( $class_name, array $interfaces, array $traits ) | ||
setDoubleImplementation ( $double, $impl ) |
public static getInterfacesAndTraits ( array $interfaces = [] ) | ||
$interfaces | array |
public static mockClassNameFor ( $class_name, array $interfaces, array $traits ) | ||
$interfaces | array | |
$traits | array |
public static setDoubleImplementation ( $double, $impl ) |