<?php class exampleModel { public $foo = 'default'; public $bar = 'example'; function foo() { return 'foo'; } function bar() { return 'bar'; } }
info at phpclasses dot org