Namespaces

  • 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

  • ClassType
  • Helpers
  • Method
  • Parameter
  • PhpLiteral
  • Property
  • Overview
  • Namespace
  • 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:  */
11: 
12: namespace Nette\Utils\PhpGenerator;
13: 
14: use Nette;
15: 
16: 
17: 
18: /**
19:  * Method parameter description.
20:  *
21:  * @author     David Grudl
22:  *
23:  * @method Parameter setName(string $name)
24:  * @method Parameter setReference(bool $on)
25:  * @method Parameter setTypeHint(string $class)
26:  * @method Parameter setOptional(bool $on)
27:  * @method Parameter setDefaultValue(mixed $value)
28:  */
29: class Parameter extends Nette\Object
30: {
31:     /** @var string */
32:     public $name;
33: 
34:     /** @var bool */
35:     public $reference;
36: 
37:     /** @var string */
38:     public $typeHint;
39: 
40:     /** @var bool */
41:     public $optional;
42: 
43:     /** @var mixed */
44:     public $defaultValue;
45: 
46: 
47:     public function __call($name, $args)
48:     {
49:         return Nette\ObjectMixin::callProperty($this, $name, $args);
50:     }
51: 
52: }
53: 
Nette Framework 2.0.5 API API documentation generated by ApiGen 2.7.0