eZ\Publish\Core\FieldType\Tests\FieldTypeMockTest::providerForTestApplyDefaultSettings PHP Метод

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

    public function providerForTestApplyDefaultSettings()
    {
        return array(array(array(), array('true' => true, 'false' => false, 'null' => null, 'zero' => 0, 'int' => 42, 'float' => 42.42, 'string' => 'string', 'emptystring' => '', 'emptyarray' => array())), array(array('true' => 'foo'), array('true' => 'foo', 'false' => false, 'null' => null, 'zero' => 0, 'int' => 42, 'float' => 42.42, 'string' => 'string', 'emptystring' => '', 'emptyarray' => array())), array(array('null' => 'foo'), array('null' => 'foo', 'true' => true, 'false' => false, 'zero' => 0, 'int' => 42, 'float' => 42.42, 'string' => 'string', 'emptystring' => '', 'emptyarray' => array())), array($array = array('false' => true, 'emptystring' => array('foo'), 'null' => 'notNull', 'additionalEntry' => 'baz', 'zero' => 10, 'int' => 'this is not an int', 'string' => null, 'emptyarray' => array(array()), 'true' => false, 'float' => true), $array));
    }