Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Code / Annotation / Parser / ParserInterface.php
blob7e36eac96ad58778b8a9f31e4e76f12ee37e44d4
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Code\Annotation\Parser;
12 use Zend\EventManager\EventInterface;
14 interface ParserInterface
16 /**
17 * Respond to the "createAnnotation" event
19 * @param EventInterface $e
20 * @return false|\stdClass
22 public function onCreateAnnotation(EventInterface $e);
24 /**
25 * Register an annotation this parser will accept
27 * @param mixed $annotation
28 * @return void
30 public function registerAnnotation($annotation);
32 /**
33 * Register multiple annotations this parser will accept
35 * @param array|\Traversable $annotations
36 * @return void
38 public function registerAnnotations($annotations);