24 lines
416 B
PHP
24 lines
416 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Mustache.php.
|
|
*
|
|
* (c) 2010-2017 Justin Hileman
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
class Simple
|
|
{
|
|
public $name = 'Chris';
|
|
public $value = 10000;
|
|
|
|
public function taxed_value()
|
|
{
|
|
return $this->value - ($this->value * 0.4);
|
|
}
|
|
|
|
public $in_ca = true;
|
|
}
|