eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\RestContentTypeTest::getBasicContentType PHP Method

getBasicContentType() protected method

protected getBasicContentType ( )
    protected function getBasicContentType()
    {
        return new RestContentType(new Values\ContentType\ContentType(array('id' => 'contentTypeId', 'status' => Values\ContentType\ContentType::STATUS_DEFINED, 'identifier' => 'contentTypeIdentifier', 'creationDate' => new \DateTime('2012-09-06 19:30 Europe/Berlin'), 'modificationDate' => new \DateTime('2012-09-06 19:32 Europe/Berlin'), 'creatorId' => 'creatorId', 'modifierId' => 'modifierId', 'remoteId' => 'remoteId', 'urlAliasSchema' => 'urlAliasSchema', 'nameSchema' => 'nameSchema', 'isContainer' => true, 'mainLanguageCode' => 'eng-US', 'defaultAlwaysAvailable' => false, 'defaultSortField' => Values\Content\Location::SORT_FIELD_SECTION, 'defaultSortOrder' => Values\Content\Location::SORT_ORDER_DESC, 'names' => array('eng-US' => 'Sindelfingen', 'eng-GB' => 'Bielefeld'), 'descriptions' => array('eng-GB' => 'Sindelfingen', 'eng-US' => 'Bielefeld'), 'fieldDefinitions' => array())), array());
    }