Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
RouteAnnotation.php
Go to the documentation of this file.
1<?php
2
4
6
23 public $path;
24 public $methods;
25 public $name;
26 public $cache;
27 public $duration;
28 public $inherited;
29 public $automated;
31 public $priority;
32
36 public function initAnnotation(array $properties) {
37 $this->inherited = false;
38 $this->automated = false;
39 $this->requirements = [ ];
40 $this->priority = 0;
41 if (isset ( $properties [0] )) {
42 $this->path = $properties [0];
43 unset ( $properties [0] );
44 } else
45 $this->path = "";
46 parent::initAnnotation ( $properties );
47 }
48}
initAnnotation(array $properties)
Initialize the annotation.