Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[annotations] Add Link annotation

  • Loading branch information...
commit a58ac44d0b72b82694f4bd23c3a9a063dfa8ccaf 1 parent d3f15d6
mixegen mixegen authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 Controller/Annotations/Link.php
14 Controller/Annotations/Link.php
View
@@ -0,0 +1,14 @@
+<?php
+namespace FOS\RestBundle\Controller\Annotations;
+
+/**
+ * LINK Route annotation class.
+ * @Annotation
+ */
+class Link extends Route
+{
+ public function getMethod()
+ {
+ return 'LINK';
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.