/** * @param float $value * @param SpeedTable $speedTable * @param string $unit */ public function __construct($value, $unit, SpeedTable $speedTable) { $this->speedTable = $speedTable; parent::__construct($value, $unit); }
public function __construct($value, $unit, FatigueTable $fatigueTable) { parent::__construct($value, $unit); $this->fatigueTable = $fatigueTable; }
public function __construct($value, ExperiencesTable $experiencesTable, $unit = self::EXPERIENCES) { parent::__construct($value, $unit); $this->experiencesTable = $experiencesTable; }
public function __construct($value, $unit, WeightTable $weightTable) { $this->weightTable = $weightTable; parent::__construct($value, $unit); }
/** * @param float $value * @param string $unit * @param AmountTable $amountTable */ public function __construct($value, $unit, AmountTable $amountTable) { $this->amountTable = $amountTable; parent::__construct($value, $unit); }
/** * @param float $value * @param string $unit * @param DistanceTable $distanceTable * @throws \DrdPlus\Tables\Measurements\Exceptions\UnknownUnit * @throws \Granam\Float\Tools\Exceptions\WrongParameterType * @throws \Granam\Float\Tools\Exceptions\ValueLostOnCast */ public function __construct($value, $unit, DistanceTable $distanceTable) { $this->distanceTable = $distanceTable; parent::__construct($value, $unit); }
public function __construct($value, WoundsTable $woundsTable) { $this->woundsTable = $woundsTable; parent::__construct($value, Wounds::WOUNDS); }