Simple.php 416 B

1234567891011121314151617181920212223
  1. <?php
  2. /*
  3. * This file is part of Mustache.php.
  4. *
  5. * (c) 2010-2016 Justin Hileman
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. class Simple
  11. {
  12. public $name = 'Chris';
  13. public $value = 10000;
  14. public function taxed_value()
  15. {
  16. return $this->value - ($this->value * 0.4);
  17. }
  18. public $in_ca = true;
  19. }