| @@ 369-379 (lines=11) @@ | ||
| 366 | $this->params[] = (object) compact( 'name', 'default', 'type', 'byRef', 'variadic' ); |
|
| 367 | } |
|
| 368 | ||
| 369 | function to_csv_array() { |
|
| 370 | return array( |
|
| 371 | $this->type(), |
|
| 372 | $this->path, |
|
| 373 | $this->line, |
|
| 374 | $this->class_name, |
|
| 375 | $this->name, |
|
| 376 | $this->static, |
|
| 377 | json_encode( $this->params ) |
|
| 378 | ); |
|
| 379 | } |
|
| 380 | ||
| 381 | function type() { |
|
| 382 | return 'method'; |
|
| @@ 406-416 (lines=11) @@ | ||
| 403 | parent::__construct( $path, $line ); |
|
| 404 | } |
|
| 405 | ||
| 406 | function to_csv_array() { |
|
| 407 | return array( |
|
| 408 | $this->type(), |
|
| 409 | $this->path, |
|
| 410 | $this->line, |
|
| 411 | $this->class_name, |
|
| 412 | $this->name, |
|
| 413 | $this->static, |
|
| 414 | '' |
|
| 415 | ); |
|
| 416 | } |
|
| 417 | ||
| 418 | function type() { |
|
| 419 | return 'property'; |
|