Blame view

src/vendor/1.2.5/Phalcon/Annotations/AdapterInterface.php 1.41 KB
ef60cd4d   Administrator   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
  <?php 
  
  namespace Phalcon\Annotations {
  
  	/**
  	 * Phalcon\Annotations\AdapterInterface initializer
  	 */
  	
  	interface AdapterInterface {
  
  		/**
  		 * Sets the annotations parser
  		 *
  		 * @param \Phalcon\Annotations\ReaderInterface $reader
  		 */
  		public function setReader($reader);
  
  
  		/**
  		 * Returns the annotation reader
  		 *
  		 * @return \Phalcon\Annotations\ReaderInterface
  		 */
  		public function getReader();
  
  
  		/**
  		 * Parses or retrieves all the annotations found in a class
  		 *
  		 * @param string|object $className
  		 * @return \Phalcon\Annotations\Reflection
  		 */
  		public function get($className);
  
  
  		/**
  		 * Returns the annotations found in all the class' methods
  		 *
  		 * @param string $className
  		 * @return array
  		 */
  		public function getMethods($className);
  
  
  		/**
  		 * Returns the annotations found in a specific method
  		 *
  		 * @param string $className
  		 * @param string $methodName
  		 * @return \Phalcon\Annotations\Collection
  		 */
  		public function getMethod($className, $methodName);
  
  
  		/**
  		 * Returns the annotations found in all the class' methods
  		 *
  		 * @param string $className
  		 * @return array
  		 */
  		public function getProperties($className);
  
  
  		/**
  		 * Returns the annotations found in a specific property
  		 *
  		 * @param string $className
  		 * @param string $propertyName
  		 * @return \Phalcon\Annotations\Collection
  		 */
  		public function getProperty($className, $propertyName);
  
  	}
  }