Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | class AppObject implements AppObjectInterface |
||
29 | { |
||
30 | |||
31 | /** |
||
32 | * @var Func_App |
||
33 | */ |
||
34 | private $App = null; |
||
|
|||
35 | |||
36 | /** |
||
37 | * @param Func_App $app |
||
38 | */ |
||
39 | public function __construct(Func_App $app = null) |
||
40 | { |
||
41 | $this->setApp($app); |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * Forces the Func_App object to which this object is 'linked'. |
||
46 | * |
||
47 | * @param Func_App $app |
||
48 | * @return $this |
||
49 | */ |
||
50 | public function setApp(Func_App $app = null) |
||
51 | { |
||
52 | $this->app = $app; |
||
53 | return $this; |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * Get APP object to use with this SET |
||
58 | * |
||
59 | * @return Func_App |
||
60 | */ |
||
61 | public function App() |
||
64 | } |
||
65 | } |