for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Class ItemAbstract
*
* @filesource ItemAbstract.php
* @created 28.04.2019
* @package codemasher\WildstarDB\Archive
* @author smiley <[email protected]>
* @copyright 2019 smiley
* @license MIT
*/
namespace codemasher\WildstarDB\Archive;
abstract class ItemAbstract{
/** @var string */
public $Parent;
public $Name;
/** @var int */
public $NameOffset;
* ItemAbstract constructor.
* @param array $data
* @param string $parent
public function __construct(array $data, string $parent){
foreach($data as $property => $value){
$this->{$property} = $value;
}
$this->Parent = $parent;