1: <?php
2:
3: /**
4: * License Block - Todo
5: */
6:
7: namespace Mapbender;
8:
9: use Mapbender\Component\Foo;
10:
11: /**
12: * Just an API-doc example (Oneline description used in lists)
13: *
14: * Bar is just an API documentation example to serve as a guideline,
15: * inspiration and to be included in the developer's book.
16: *
17: * This file is directly included in the documentation. Yeah!
18: *
19: * @todo Make me better
20: *
21: * @author Christian Wygoda <christian.wygoda@wheregroup.com>
22: */
23: class Example extends Foo
24: {
25: /**
26: * Constructor
27: *
28: * Does some magic.
29: */
30: public function __construct()
31: {
32: }
33:
34: /**
35: * Magic function
36: *
37: * Does some pretty awesome magic.
38: *
39: * @param array $input input data
40: * @return string Result string
41: *
42: * @deprecated use newMagic instead
43: */
44: public function oldMagic(array $input)
45: {
46: }
47:
48: /**
49: * Magic function
50: *
51: * Does some pretty awesome magic, only better.
52: *
53: * @param array $input input data
54: * @return string Result string
55: *
56: * @todo make faster
57: */
58: public function newMagic(array $input)
59: {
60: }
61: }
62:
63: