| @@ 420-430 (lines=11) @@ | ||
| 417 | $this->params[] = (object) compact( 'name', 'default', 'type', 'byRef', 'variadic' ); |
|
| 418 | } |
|
| 419 | ||
| 420 | function to_csv_array() { |
|
| 421 | return array( |
|
| 422 | $this->type(), |
|
| 423 | $this->path, |
|
| 424 | $this->line, |
|
| 425 | $this->class_name, |
|
| 426 | $this->name, |
|
| 427 | $this->static, |
|
| 428 | json_encode( $this->params ) |
|
| 429 | ); |
|
| 430 | } |
|
| 431 | ||
| 432 | function type() { |
|
| 433 | return 'method'; |
|
| @@ 457-467 (lines=11) @@ | ||
| 454 | parent::__construct( $path, $line ); |
|
| 455 | } |
|
| 456 | ||
| 457 | function to_csv_array() { |
|
| 458 | return array( |
|
| 459 | $this->type(), |
|
| 460 | $this->path, |
|
| 461 | $this->line, |
|
| 462 | $this->class_name, |
|
| 463 | $this->name, |
|
| 464 | $this->static, |
|
| 465 | '' |
|
| 466 | ); |
|
| 467 | } |
|
| 468 | ||
| 469 | function type() { |
|
| 470 | return 'property'; |
|