Neos\Flow\Tests\Unit\I18n\UtilityTest::sampleHaystackStringsAndNeedleStrings PHP 메소드

sampleHaystackStringsAndNeedleStrings() 공개 메소드

Data provider with haystack strings and needle strings, used to test comparison methods. The third argument denotes whether needle is same as beginning of the haystack, or it's ending, or both or none.
    public function sampleHaystackStringsAndNeedleStrings()
    {
        return [['teststring', 'test', 'beginning'], ['foo', 'bar', 'none'], ['baz', '', 'none'], ['foo', 'foo', 'both'], ['foobaz', 'baz', 'ending']];
    }