root/tags/RELEASE_0_2_1/examples/DynamicSetterClass.php

Revision 89, 357 bytes (checked in by mikey, 2 years ago)

added integration tests using the existing examples

Line 
1 <?php
2 class DynamicSetterClass {
3     private $foo;
4     private $bar;
5
6     public function setFoo($foo) {
7         $this->foo = $foo;
8     }
9     
10     public function getFoo()
11     {
12         return $this->foo;
13     }
14
15     public function setBar($bar) {
16         $this->bar = $bar;
17     }
18     
19     public function getBar()
20     {
21         return $this->bar;
22     }
23 }
24 ?>
Note: See TracBrowser for help on using the browser.