| @@ 404-414 (lines=11) @@ | ||
| 401 | $this->params[] = (object) compact( 'name', 'default', 'type', 'byRef', 'variadic' ); |
|
| 402 | } |
|
| 403 | ||
| 404 | function to_csv_array() { |
|
| 405 | return array( |
|
| 406 | $this->type(), |
|
| 407 | $this->path, |
|
| 408 | $this->line, |
|
| 409 | $this->class_name, |
|
| 410 | $this->name, |
|
| 411 | $this->static, |
|
| 412 | json_encode( $this->params ) |
|
| 413 | ); |
|
| 414 | } |
|
| 415 | ||
| 416 | function type() { |
|
| 417 | return 'method'; |
|
| @@ 441-451 (lines=11) @@ | ||
| 438 | parent::__construct( $path, $line ); |
|
| 439 | } |
|
| 440 | ||
| 441 | function to_csv_array() { |
|
| 442 | return array( |
|
| 443 | $this->type(), |
|
| 444 | $this->path, |
|
| 445 | $this->line, |
|
| 446 | $this->class_name, |
|
| 447 | $this->name, |
|
| 448 | $this->static, |
|
| 449 | '' |
|
| 450 | ); |
|
| 451 | } |
|
| 452 | ||
| 453 | function type() { |
|
| 454 | return 'property'; |
|