Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
ThrowsTag.php
01 <?php
02 /**
03 * Zend Framework (http://framework.zend.com/)
04 *
05 * @link http://github.com/zendframework/zf2 for the canonical source repository
06 * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
07 * @license http://framework.zend.com/license/new-bsd New BSD License
08 */
09
10 namespace Zend\Code\Generator\DocBlock\Tag;
11
12 class ThrowsTag extends AbstractTypeableTag implements TagInterface
13 {
14 /**
15 * @return string
16 */
17 public function getName()
18 {
19 return 'throws';
20 }
21
22 /**
23 * @return string
24 */
25 public function generate()
26 {
27 $output = '@throws'
28 . (! empty($this->types) ? ' ' . $this->getTypesAsString() : '')
29 . (! empty($this->description) ? ' ' . $this->description : '');
30
31 return $output;
32 }
33 }
34