eZ\Publish\Core\REST\Server\Tests\Input\Parser\UserGroupCreateTest::getContentType PHP Method

getContentType() protected method

Get the content type used in UserGroupCreate parser.
protected getContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType
return eZ\Publish\API\Repository\Values\ContentType\ContentType
    protected function getContentType()
    {
        return new ContentType(array('id' => 3, 'identifier' => 'some_class', 'fieldDefinitions' => array(new FieldDefinition(array('id' => 42, 'identifier' => 'name', 'fieldTypeIdentifier' => 'ezstring')))));
    }