| @@ 27-37 (lines=11) @@ | ||
| 24 | $this->params[] = (object) compact( 'name', 'default', 'type', 'byRef', 'variadic' ); |
|
| 25 | } |
|
| 26 | ||
| 27 | function to_csv_array() { |
|
| 28 | return array( |
|
| 29 | $this->type(), |
|
| 30 | $this->path, |
|
| 31 | $this->line, |
|
| 32 | $this->class_name, |
|
| 33 | $this->name, |
|
| 34 | $this->static, |
|
| 35 | json_encode( $this->params ) |
|
| 36 | ); |
|
| 37 | } |
|
| 38 | ||
| 39 | function type() { |
|
| 40 | return 'method'; |
|
| @@ 20-30 (lines=11) @@ | ||
| 17 | parent::__construct( $path, $line ); |
|
| 18 | } |
|
| 19 | ||
| 20 | function to_csv_array() { |
|
| 21 | return array( |
|
| 22 | $this->type(), |
|
| 23 | $this->path, |
|
| 24 | $this->line, |
|
| 25 | $this->class_name, |
|
| 26 | $this->name, |
|
| 27 | $this->static, |
|
| 28 | '' |
|
| 29 | ); |
|
| 30 | } |
|
| 31 | ||
| 32 | function type() { |
|
| 33 | return 'property'; |
|