Permalink
Browse files

[annotations] Add Link annotation

  • Loading branch information...
1 parent d3f15d6 commit a58ac44d0b72b82694f4bd23c3a9a063dfa8ccaf @mixegen mixegen committed Aug 29, 2012
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';
+ }
+}

0 comments on commit a58ac44

Please sign in to comment.