Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • None
  • PHP

Classes

  • PhpClassType
  • PhpHelpers
  • PhpLiteral
  • PhpMethod
  • PhpParameter
  • PhpProperty
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (http://nette.org)
 5:  *
 6:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 7:  *
 8:  * For the full copyright and license information, please view
 9:  * the file license.txt that was distributed with this source code.
10:  * @package Nette\Utils\PhpGenerator
11:  */
12: 
13: 
14: 
15: /**
16:  * Method parameter description.
17:  *
18:  * @author     David Grudl
19:  *
20:  * @method Parameter setName(string $name)
21:  * @method Parameter setReference(bool $on)
22:  * @method Parameter setTypeHint(string $class)
23:  * @method Parameter setOptional(bool $on)
24:  * @method Parameter setDefaultValue(mixed $value)
25:  * @package Nette\Utils\PhpGenerator
26:  */
27: class PhpParameter extends Object
28: {
29:     /** @var string */
30:     public $name;
31: 
32:     /** @var bool */
33:     public $reference;
34: 
35:     /** @var string */
36:     public $typeHint;
37: 
38:     /** @var bool */
39:     public $optional;
40: 
41:     /** @var mixed */
42:     public $defaultValue;
43: 
44: 
45:     public function __call($name, $args)
46:     {
47:         return ObjectMixin::callProperty($this, $name, $args);
48:     }
49: 
50: }
51: 
Nette Framework 2.0.3 (for PHP 5.2, un-prefixed) API API documentation generated by ApiGen 2.7.0