Cascade\Tests\Config\Loader\ClassLoader\Resolver\ConstructorResolverTest::optionsProvider PHP 메소드

optionsProvider() 공개 메소드

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
리턴 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')));
    }