Skip to the content
Documentation

Extending the REST API: comparison of v.3 vs v.4

No ratings yet

Versions Compared

Old Version 3

changes.mady.by.user Dominika Kurek

Saved on Jan 19, 2016

compared with

New Version Current

changes.mady.by.user Dominika Kurek

Saved on May 19, 2016

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Comment: corrected according to https://jira.ez.no/browse/EZP-23191

...

Code Block
language php
title My/Bundle/RestBundle/Rest/Controller/DefaultController.php
namespace My\Bundle\RestBundle\Rest\Controller;

use eZ\Publish\Core\REST\Server\Controller as BaseController;

class DefaultController extends BaseController
{
    public function sayHello( $name )
    {
        // @todo Implement me
    }
}

...

Comments

Add a comment

Comments are read by a moderator before they appear.