15 lines
205 B
PHP
15 lines
205 B
PHP
<?php
|
|
|
|
class Simple
|
|
{
|
|
public $name = 'Chris';
|
|
public $value = 10000;
|
|
|
|
public function taxed_value()
|
|
{
|
|
return $this->value - ($this->value * 0.4);
|
|
}
|
|
|
|
public $in_ca = true;
|
|
}
|