| @@ 285-295 (lines=11) @@ | ||
| 282 | $this->params[] = (object) compact( 'name', 'default', 'type', 'byRef', 'variadic' ); |
|
| 283 | } |
|
| 284 | ||
| 285 | function to_csv_array() { |
|
| 286 | return array( |
|
| 287 | $this->type(), |
|
| 288 | $this->path, |
|
| 289 | $this->line, |
|
| 290 | $this->class_name, |
|
| 291 | $this->name, |
|
| 292 | $this->static, |
|
| 293 | json_encode( $this->params ) |
|
| 294 | ); |
|
| 295 | } |
|
| 296 | ||
| 297 | function type() { |
|
| 298 | return 'method'; |
|
| @@ 322-332 (lines=11) @@ | ||
| 319 | parent::__construct( $path, $line ); |
|
| 320 | } |
|
| 321 | ||
| 322 | function to_csv_array() { |
|
| 323 | return array( |
|
| 324 | $this->type(), |
|
| 325 | $this->path, |
|
| 326 | $this->line, |
|
| 327 | $this->class_name, |
|
| 328 | $this->name, |
|
| 329 | $this->static, |
|
| 330 | '' |
|
| 331 | ); |
|
| 332 | } |
|
| 333 | ||
| 334 | function type() { |
|
| 335 | return 'property'; |
|