| @@ 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->prop_name, |
|
| 27 | $this->static, |
|
| 28 | '' |
|
| 29 | ); |
|
| 30 | } |
|
| 31 | ||
| 32 | function type() { |
|
| 33 | return 'property'; |
|
| @@ 25-33 (lines=9) @@ | ||
| 22 | $this->prop_name = $prop_name; |
|
| 23 | } |
|
| 24 | ||
| 25 | public function to_csv_array() { |
|
| 26 | return array( |
|
| 27 | $this->type(), |
|
| 28 | $this->path, |
|
| 29 | $this->line, |
|
| 30 | $this->class_name, |
|
| 31 | $this->prop_name |
|
| 32 | ); |
|
| 33 | } |
|
| 34 | ||
| 35 | function type() { |
|
| 36 | return 'static_property'; |
|