Total Complexity | 6 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
3 | class plGraphvizProcessorOptions extends plProcessorOptions |
||
4 | { |
||
5 | public function __construct() |
||
6 | { |
||
7 | $this->properties = array( |
||
8 | 'style' => array( |
||
9 | 'data' => plGraphvizProcessorStyle::factory( 'default' ), |
||
10 | 'type' => self::STRING, |
||
11 | 'description' => 'Style to use for the dot creation' |
||
12 | ), |
||
13 | 'createAssociations' => array( |
||
14 | 'data' => true, |
||
15 | 'type' => self::BOOL, |
||
16 | 'description' => 'Create connections between classes that include each other. (This information can only be extracted if it is present in docblock comments)' |
||
17 | ), |
||
18 | ); |
||
19 | } |
||
20 | |||
21 | public function __set( $key, $val ) |
||
33 | } |
||
34 | |||
39 |
Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.
A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.