Blame view

src/vendor/1.2.5/Phalcon/Annotations/ReaderInterface.php 526 Bytes
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
  <?php 
  
  namespace Phalcon\Annotations {
  
  	/**
  	 * Phalcon\Annotations\ReaderInterface initializer
  	 */
  	
  	interface ReaderInterface {
  
  		/**
  		 * Reads annotations from the class dockblocks, its methods and/or properties
  		 *
  		 * @param string $className
  		 * @return array
  		 */
  		public function parse($className);
  
  
  		/**
  		 * Parses a raw doc block returning the annotations found
  		 *
  		 * @param string $docBlock
  		 * @return array
  		 */
  		public static function parseDocBlock($docBlock, $file=null, $line=null);
  
  	}
  }