Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Add Link annotation class #288

Closed
wants to merge 1 commit into from

3 participants

@mixegen

No description provided.

@mixegen

For issue #283

@travisbot

This pull request passes (merged a58ac44 into c05cdaa).

@lsmith77
Owner

can you add some docs/tests to illustrate how to use this?

@lsmith77
Owner

oh and while you are at it .. can you also make the Route class abstract as per @everzet's comment.

@lsmith77
Owner

ping

@lsmith77
Owner

i will be working on the topic of HATEOAS in the coming days with @beberlei. i will then decide if we want to support this or not ..

@lsmith77 lsmith77 referenced this pull request
Closed

LINK support #325

@lsmith77
Owner

if you can add tests/docs as noted above i will merge it.

@lsmith77 lsmith77 referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@lsmith77
Owner

ok making the Route class abstract doesnt make sense.

@lsmith77 lsmith77 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 29, 2012
  1. @mixegen
This page is out of date. Refresh to see the latest.
Showing with 14 additions and 0 deletions.
  1. +14 −0 Controller/Annotations/Link.php
View
14 Controller/Annotations/Link.php
@@ -0,0 +1,14 @@
+<?php
+namespace FOS\RestBundle\Controller\Annotations;
+
+/**
+ * LINK Route annotation class.
+ * @Annotation
+ */
+class Link extends Route
+{
+ public function getMethod()
+ {
+ return 'LINK';
+ }
+}
Something went wrong with that request. Please try again.