| @@ 392-402 (lines=11) @@ | ||
| 389 | $this->params[] = (object) compact( 'name', 'default', 'type', 'byRef', 'variadic' ); |
|
| 390 | } |
|
| 391 | ||
| 392 | function to_csv_array() { |
|
| 393 | return array( |
|
| 394 | $this->type(), |
|
| 395 | $this->path, |
|
| 396 | $this->line, |
|
| 397 | $this->class_name, |
|
| 398 | $this->name, |
|
| 399 | $this->static, |
|
| 400 | json_encode( $this->params ) |
|
| 401 | ); |
|
| 402 | } |
|
| 403 | ||
| 404 | function type() { |
|
| 405 | return 'method'; |
|
| @@ 429-439 (lines=11) @@ | ||
| 426 | parent::__construct( $path, $line ); |
|
| 427 | } |
|
| 428 | ||
| 429 | function to_csv_array() { |
|
| 430 | return array( |
|
| 431 | $this->type(), |
|
| 432 | $this->path, |
|
| 433 | $this->line, |
|
| 434 | $this->class_name, |
|
| 435 | $this->name, |
|
| 436 | $this->static, |
|
| 437 | '' |
|
| 438 | ); |
|
| 439 | } |
|
| 440 | ||
| 441 | function type() { |
|
| 442 | return 'property'; |
|