Neos\Eel\Tests\Unit\StringHelperTest::indexOfExamples PHP Метод

indexOfExamples() публичный Метод

public indexOfExamples ( )
    public function indexOfExamples()
    {
        return ['match at start' => ['Blue Whale', 'Blue', null, 0], 'no match' => ['Blute', 'Blue', null, -1], 'from index at start' => ['Blue Whale', 'Whale', 0, 5], 'from index at begin of match' => ['Blue Whale', 'Whale', 5, 5], 'from index after match' => ['Blue Whale', 'Whale', 6, -1], 'empty search' => ['Blue Whale', '', null, 0], 'empty search with from index' => ['Blue Whale', '', 9, 9], 'empty search with from index larger than count' => ['Blue Whale', '', 11, 10], 'case sensitive match' => ['Blue Whale', 'blue', null, -1], 'unicode content is matched' => ['Öaßaü', 'ßa', null, 2]];
    }