Phalcon\Test\Annotations\Adapter\RedisTest::providerReadWrite PHP Метод

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

public providerReadWrite ( )
    public function providerReadWrite()
    {
        // This key is needed in order not to break your real data
        $key = hash('sha256', json_encode([__CLASS__, __METHOD__, __FILE__, __LINE__]));
        return ['string' => [$key . '_test1', 'data1'], 'object' => [$key . '_test1', (object) ['key' => 'value']], 'array' => [$key . '_test1', ['key' => 'value']], 'null' => [$key . '_test1', null], 'int' => [$key . '_test1', PHP_INT_MAX], 'float' => [$key . '_test1', 3.14], 'class' => [$key . '_test1', new \stdClass()]];
    }