Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Azienda{
- private $props = (object)[
- 'id' => '',
- 'nome' => '',
- ...
- ]
- public function setProp($key, $value){
- $props[$key] = $value;
- }
- public function getProp($key){
- return $props[$key];
- }
- }
Add Comment
Please, Sign In to add comment