Méthode | 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. |
Méthode | 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 |
||
Résultat | mixed>\array |
public customMethods ( ) : array |
||
Résultat | array |
public customProperties ( ) : mixed>\array |
||
Résultat | mixed>\array |
public customStaticMethods ( ) : array |
||
Résultat | array |
public customStaticProperties ( ) : mixed>\array |
||
Résultat | mixed>\array |
public interfaceNames ( ) : array |
||
Résultat | array |
public methods ( ) : |
||
Résultat | The method definitions. |
public parentClassName ( ) : string | null | ||
Résultat | string | null | The parent class name, or null if the mock will not extend a class. |
public types ( ) : ReflectionClass>\array |
||
Résultat | ReflectionClass>\array |