Coduo\PHPMatcher\Tests\Matcher\OrMatcherTest::positiveMatchData PHP Метод

positiveMatchData() публичный статический Метод

public static positiveMatchData ( )
    public static function positiveMatchData()
    {
        $simpleArr = array('users' => array(array('firstName' => 'Norbert', 'lastName' => 'Orzechowicz'), array('firstName' => 1, 'lastName' => 2)), true, false, 1, 6.66);
        $simpleArrPattern = array('users' => array(array('firstName' => '@string@', 'lastName' => '@null@||@string@||@integer@'), '@...@'), true, false, 1, 6.66);
        return array(array('test', '@string@'), array(null, '@array@||@string@||@null@'), array(array('test' => 1), array('test' => '@integer@')), array(array('test' => null), array('test' => '@integer@||@null@')), array(array('first_level' => array('second_level', array('third_level'))), '@array@||@null@||@*@'), array($simpleArr, $simpleArr), array($simpleArr, $simpleArrPattern));
    }