Neos\Flow\Tests\Unit\I18n\UtilityTest::sampleHaystackStringsAndNeedleStrings PHP Méthode

sampleHaystackStringsAndNeedleStrings() public méthode

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']];
    }