eZ\Publish\Core\Persistence\Legacy\Tests\Content\MapperTest::extractContentInfoFromRowProvider PHP Метод

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

Returns test data for {@link testExtractContentInfoFromRow()}.
public extractContentInfoFromRowProvider ( ) : array
Результат array
    public function extractContentInfoFromRowProvider()
    {
        $fixtures = $this->getContentExtractFixture();
        $fixturesNoPrefix = array();
        foreach ($fixtures[0] as $key => $value) {
            $keyNoPrefix = $key === 'ezcontentobject_tree_main_node_id' ? $key : str_replace('ezcontentobject_', '', $key);
            $fixturesNoPrefix[$keyNoPrefix] = $value;
        }
        return array(array($fixtures[0], 'ezcontentobject_'), array($fixturesNoPrefix, ''));
    }