[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Summary view] [Print] [Text view]
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-2015 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; 11 12 use ArrayObject; 13 14 class AnnotationCollection extends ArrayObject 15 { 16 /** 17 * Checks if the collection has annotations for a class 18 * 19 * @param string $class 20 * @return bool 21 */ 22 public function hasAnnotation($class) 23 { 24 foreach ($this as $annotation) { 25 if (get_class($annotation) == $class) { 26 return true; 27 } 28 } 29 30 return false; 31 } 32 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |