Method | Description | |
---|---|---|
__construct ( array $types, array $customMethods, array $customProperties, array $customStaticMethods, array $customStaticProperties, array $customConstants, string | null $className, boolean $isTraitSupported, boolean $isRelaxedKeywordsSupported ) | Construct a new mock definition. | |
className ( ) : string | null | Get the class name. | |
customConstants ( ) : mixed>\array |
Get the custom constants. | |
customMethods ( ) : array |
Get the custom methods. | |
customProperties ( ) : mixed>\array |
Get the custom properties. | |
customStaticMethods ( ) : array |
Get the custom static methods. | |
customStaticProperties ( ) : mixed>\array |
Get the custom static properties. | |
interfaceNames ( ) : array |
Get the interface names. | |
isEqualTo ( |
Check if the supplied definition is equal to this definition. | |
methods ( ) : |
Get the method definitions. | |
parentClassName ( ) : string | null | Get the parent class name. | |
signature ( ) : mixed | Get the signature. | |
traitNames ( ) : array |
Get the trait names. | |
typeNames ( ) : array |
Get the type names. | |
types ( ) : ReflectionClass>\array |
Get the types. |
Method | Description | |
---|---|---|
buildMethods ( ) | ||
inspectTypes ( ) |
public __construct ( array $types, array $customMethods, array $customProperties, array $customStaticMethods, array $customStaticProperties, array $customConstants, string | null $className, boolean $isTraitSupported, boolean $isRelaxedKeywordsSupported ) | ||
$types | array | |
$customMethods | array | |
$customProperties | array | |
$customStaticMethods | array | |
$customStaticProperties | array | |
$customConstants | array | |
$className | string | null | The class name. |
$isTraitSupported | boolean | True if traits are supported. |
$isRelaxedKeywordsSupported | boolean | True if relaxed keywords are supported. |
public customConstants ( ) : mixed>\array |
||
return | mixed>\array |
public customMethods ( ) : array |
||
return | array |
public customProperties ( ) : mixed>\array |
||
return | mixed>\array |
public customStaticMethods ( ) : array |
||
return | array |
public customStaticProperties ( ) : mixed>\array |
||
return | mixed>\array |
public interfaceNames ( ) : array |
||
return | array |
public methods ( ) : |
||
return | The method definitions. |
public parentClassName ( ) : string | null | ||
return | string | null | The parent class name, or null if the mock will not extend a class. |
public types ( ) : ReflectionClass>\array |
||
return | ReflectionClass>\array |