Reader.php 662 Bytes
<?php 

namespace Phalcon\Annotations {

	/**
	 * Phalcon\Annotations\Reader
	 *
	 * Parses docblocks returning an array with the found annotations
	 */
	
	class Reader implements \Phalcon\Annotations\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
		 * @param string $file
		 * @param int $line
		 * @return array
		 */
		public static function parseDocBlock($docBlock, $file=null, $line=null){ }

	}
}