PHP Class eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\ContentFieldValidationException

Inheritance: extends BadRequestException
Mostrar archivo Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
visit ( Visitor $visitor, Generator $generator, ContentFieldValidationException $data ) Visit struct returned by controllers.

Private Methods

Method Description
translationToString ( eZ\Publish\API\Repository\Values\Translation $translation ) : string Convert a Translation object to a string, detecting singular/plural as needed.

Method Details

visit() public method

Visit struct returned by controllers.
public visit ( Visitor $visitor, Generator $generator, ContentFieldValidationException $data )
$visitor eZ\Publish\Core\REST\Common\Output\Visitor
$generator eZ\Publish\Core\REST\Common\Output\Generator
$data eZ\Publish\Core\REST\Server\Exceptions\ContentFieldValidationException