|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder:
Collaboration diagram for ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder:Public Member Functions | |
| create (string $fqdn) | |
| defaultValueFor (object $object, string $method) | |
| Derives the value a mocked method returns when nothing was stubbed. More... | |
| create (string $fqdn) | |
Protected Member Functions | |
| loadGeneratedCode (string $code, string $generated_class) | |
Private Member Functions | |
| createLazyShell (string $type) | |
| createNormal (string $type) | |
| generate (string $type, string $generated_class) | |
| shouldOverride (ReflectionMethod $method) | |
| buildMethod (ReflectionMethod $method, array &$return_map) | |
| buildMethodAttributes (ReflectionMethod $method) | |
| needsReturnTypeWillChange (ReflectionMethod $method) | |
| buildMethodBody (string $method_name, ?ReflectionType $return_type) | |
| buildStaticMethodBody (string $method_name) | |
| Static methods have no instance to record the call on, they are only declared to satisfy the signature of the mocked type. More... | |
| buildParameterList (ReflectionMethod $method) | |
| buildParameter (ReflectionParameter $parameter) | |
| renderType (?ReflectionType $type) | |
| normalizeType (?ReflectionType $type) | |
| defaultByMeta (object $object, array $meta) | |
| generatedClassName (string $type) | |
| exportValue (mixed $value) | |
Definition at line 35 of file AbstractLightMockBuilder.php.
|
private |
| array<string,mixed> | $return_map |
Definition at line 220 of file AbstractLightMockBuilder.php.
References $body, ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethodAttributes(), ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethodBody(), ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildParameterList(), ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildStaticMethodBody(), ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\normalizeType(), and ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\renderType().
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\generate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 249 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\needsReturnTypeWillChange().
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethod().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 285 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\normalizeType().
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethod().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 337 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\exportValue(), and ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\renderType().
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildParameterList().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 326 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildParameter().
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethod().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Static methods have no instance to record the call on, they are only declared to satisfy the signature of the mocked type.
Definition at line 317 of file AbstractLightMockBuilder.php.
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethod().
Here is the caller graph for this function:| ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder::create | ( | string | $fqdn | ) |
| string | $type | FQDN of interface, class, ... |
Implements ILIAS\Component\Dependencies\Mocks\MockBuilder.
Definition at line 76 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\createLazyShell(), and ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\createNormal().
Here is the call graph for this function:
|
private |
Definition at line 37 of file AbstractLightMockBuilder.php.
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\create().
Here is the caller graph for this function:
|
private |
Definition at line 89 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\generate(), ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\generatedClassName(), ILIAS\Component\Dependencies\Mocks\GeneratedMockRegistry\isGenerated(), and ILIAS\Component\Dependencies\Mocks\GeneratedMockRegistry\register().
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\create(), and ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\defaultByMeta().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| array<string,mixed> | $meta |
Definition at line 475 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\createNormal(), and ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\defaultByMeta().
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\defaultByMeta(), and ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\defaultValueFor().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder::defaultValueFor | ( | object | $object, |
| string | $method | ||
| ) |
Derives the value a mocked method returns when nothing was stubbed.
Called through {
Definition at line 460 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\defaultByMeta(), and ILIAS\Component\Dependencies\Mocks\GeneratedMockRegistry\returnTypeFor().
Here is the call graph for this function:
|
private |
Definition at line 543 of file AbstractLightMockBuilder.php.
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildParameter().
Here is the caller graph for this function:
|
private |
Definition at line 104 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethod(), ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\loadGeneratedCode(), ILIAS\Component\Dependencies\Mocks\MockObjectBehavior, and ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\shouldOverride().
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\createNormal().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 538 of file AbstractLightMockBuilder.php.
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\createNormal().
Here is the caller graph for this function:
|
abstractprotected |
Reimplemented in ILIAS\Component\Dependencies\Mocks\EvalLightMockBuilder.
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\generate().
Here is the caller graph for this function:
|
private |
Definition at line 258 of file AbstractLightMockBuilder.php.
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethodAttributes().
Here is the caller graph for this function:
|
private |
Definition at line 408 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\normalizeType().
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethod(), ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethodBody(), and ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\normalizeType().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 367 of file AbstractLightMockBuilder.php.
References ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\renderType().
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildMethod(), ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\buildParameter(), and ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\renderType().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 185 of file AbstractLightMockBuilder.php.
Referenced by ILIAS\Component\Dependencies\Mocks\AbstractLightMockBuilder\generate().
Here is the caller graph for this function: