[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/zendframework/zend-code/src/Annotation/Parser/ -> ParserInterface.php (source)

   1  <?php
   2  /**
   3   * Zend Framework (http://framework.zend.com/)
   4   *
   5   * @link      http://github.com/zendframework/zf2 for the canonical source repository
   6   * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
   7   * @license   http://framework.zend.com/license/new-bsd New BSD License
   8   */
   9  
  10  namespace Zend\Code\Annotation\Parser;
  11  
  12  use Zend\EventManager\EventInterface;
  13  
  14  interface ParserInterface
  15  {
  16      /**
  17       * Respond to the "createAnnotation" event
  18       *
  19       * @param  EventInterface  $e
  20       * @return false|\stdClass
  21       */
  22      public function onCreateAnnotation(EventInterface $e);
  23  
  24      /**
  25       * Register an annotation this parser will accept
  26       *
  27       * @param  mixed $annotation
  28       * @return void
  29       */
  30      public function registerAnnotation($annotation);
  31  
  32      /**
  33       * Register multiple annotations this parser will accept
  34       *
  35       * @param  array|\Traversable $annotations
  36       * @return void
  37       */
  38      public function registerAnnotations($annotations);
  39  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1