added abstract required function
This commit is contained in:
parent
e3e70d5543
commit
4ef340dd58
@ -143,6 +143,8 @@ abstract class Item
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
abstract public function printInfo();
|
||||||
|
|
||||||
public function printImage()
|
public function printImage()
|
||||||
{
|
{
|
||||||
echo "<img src='/i/sh/{$this->img}'>";
|
echo "<img src='/i/sh/{$this->img}'>";
|
||||||
|
Loading…
Reference in New Issue
Block a user