public __construct ( |
||
$entity | ||
$oldItem | ||
$newItem |
public function __construct(Entity $entity, Item $oldItem, Item $newItem, $slot)
{
$this->entity = $entity;
$this->oldItem = $oldItem;
$this->newItem = $newItem;
$this->slot = (int) $slot;
}