tests
This commit is contained in:
parent
d68f9b232a
commit
642fb82938
@ -64,6 +64,11 @@ class Item
|
||||
public $mfuvorot;
|
||||
public $mfauvorot;
|
||||
|
||||
/**
|
||||
* Item constructor.
|
||||
*
|
||||
* @param $row
|
||||
*/
|
||||
public function __construct($row)
|
||||
{
|
||||
$this->name = $row['name'];
|
||||
|
@ -8,6 +8,9 @@
|
||||
|
||||
class ItemClass extends Item
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function printItemStats()
|
||||
{
|
||||
echo $this->name ." (Масса: ". $this->massa .")<br>";
|
||||
|
Loading…
Reference in New Issue
Block a user