the whole shebang

This commit is contained in:
2014-11-25 16:42:40 +01:00
parent 7f74c0613e
commit ab1334c0cf
3686 changed files with 496409 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
<?php
/**
* @property string $name Name
* @property null|PHPParser_Node_Expr $default Default value
* @property null|string|PHPParser_Node_Name $type Typehint
* @property bool $byRef Whether is passed by reference
*/
class PHPParser_Node_Param extends PHPParser_NodeAbstract
{
/**
* Constructs a parameter node.
*
* @param string $name Name
* @param null|PHPParser_Node_Expr $default Default value
* @param null|string|PHPParser_Node_Name $type Typehint
* @param bool $byRef Whether is passed by reference
* @param array $attributes Additional attributes
*/
public function __construct($name, $default = null, $type = null, $byRef = false, array $attributes = array()) {
parent::__construct(
array(
'name' => $name,
'default' => $default,
'type' => $type,
'byRef' => $byRef
),
$attributes
);
}
}