Property | Type | Description | |
---|---|---|---|
$reflected | ReflectionClass | Reflection class for which you want to resolve extra options | |
$resolver | ExtraOptions Resolver |
Method | Description | |
---|---|---|
invalidOptionsProvider ( ) : array | Data provider for testResolveWithInvalidOptions | |
optionsProvider ( ) : array | Data provider for testResolveWithInvalidOptions | |
setUp ( ) | Set up function | |
tearDown ( ) | Tear down function | |
testConstructor ( ) | Test the resolver contructor | |
testGenerateParamsHashKey ( ) | Test the hsah key generation | |
testResolve ( ) | Test resolving with valid options | |
testResolveWithCustomOptionHandler ( ) | Test resolving with valid options | |
testResolveWithInvalidOptions ( array $invalidOptions ) | Test resolving with invalid options. It should throw an exception. |
public invalidOptionsProvider ( ) : array | ||
return | array | of arrays with expected resolved values and options used as input |
public optionsProvider ( ) : array | ||
return | array | of arrays with expected resolved values and options used as input |
public testGenerateParamsHashKey ( ) |
public testResolveWithCustomOptionHandler ( ) |
public testResolveWithInvalidOptions ( array $invalidOptions ) | ||
$invalidOptions | array | Array of invalid options |
protected ReflectionClass $reflected | ||
return | ReflectionClass |