1 | <?php |
||
22 | class Box |
||
23 | { |
||
24 | public $topX; |
||
25 | public $topY; |
||
26 | public $bottomX; |
||
27 | public $bottomY; |
||
28 | |||
29 | |||
30 | /** |
||
31 | * __construct |
||
32 | * |
||
33 | * Create a point from a string description. |
||
34 | * |
||
35 | * @access public |
||
36 | * @param string $description |
||
37 | */ |
||
38 | public function __construct($description) |
||
57 | |||
58 | /** |
||
59 | * __toString |
||
60 | * |
||
61 | * Return a string representation of Point. |
||
62 | * |
||
63 | * @access public |
||
64 | * @return string |
||
65 | */ |
||
66 | public function __toString() |
||
76 | } |
||
77 |