abstract class abstractItem
{
public function save()
{
}
}
class Item extends abstractItem
{
public $name = "test";
}
$item = new Item;
abstract class abstractItem
{
public $name;
public function save()
{
var_dump($this->name);
}
}
class Item extends abstractItem
{
public $name = "test";
}