eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\UpdateHandler\DoctrineDatabaseTest::getTypeFixtures PHP Метод

getTypeFixtures() защищенный Метод

Returns an array with 'from' and 'to' types.
protected getTypeFixtures ( ) : eZ\Publish\SPI\Persistence\Content\Type[]
Результат eZ\Publish\SPI\Persistence\Content\Type[]
    protected function getTypeFixtures()
    {
        $types = array();
        $types['from'] = new Type();
        $types['from']->id = 23;
        $types['from']->status = Type::STATUS_DEFINED;
        $types['to'] = new Type();
        $types['to']->id = 23;
        $types['to']->status = Type::STATUS_DRAFT;
        return $types;
    }