Cascade\Tests\Config\Loader\ClassLoader\Resolver\ConstructorResolverTest::optionsProvider PHP Méthode

optionsProvider() public méthode

The order of the input options does not matter and is somewhat random. The resolution should reconcile those options and match them up with the contructor param position
public optionsProvider ( ) : array
Résultat array of arrays with expected resolved values and options used as input
    public function optionsProvider()
    {
        return array(array(array('someValue', 'hello', 'there', 'slither'), array('optionalB' => 'there', 'optionalA' => 'hello', 'mandatory' => 'someValue', 'optionalSnake' => 'slither')), array(array('someValue', 'hello', 'BBB', 'snake'), array('mandatory' => 'someValue', 'optionalA' => 'hello')), array(array('someValue', 'AAA', 'BBB', 'snake'), array('mandatory' => 'someValue')));
    }