eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\SeeOther::visit PHP Method

visit() public method

public visit ( Visitor $visitor, Generator $generator, $data )
$visitor eZ\Publish\Core\REST\Common\Output\Visitor
$generator eZ\Publish\Core\REST\Common\Output\Generator
    public function visit(Visitor $visitor, Generator $generator, $data)
    {
        $visitor->setStatus(303);
        $visitor->setHeader('Location', $data->redirectUri);
    }
SeeOther