for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Stu\Component\Ship\System\Data;
use Stu\Component\Ship\System\ShipSystemTypeEnum;
class ProjectileLauncherSystemData extends AbstractSystemData
{
public int $shieldPenetration = 0;
function getSystemType(): ShipSystemTypeEnum
return ShipSystemTypeEnum::SYSTEM_TORPEDO;
}
public function getShieldPenetration(): int
return $this->shieldPenetration;
public function setShieldPenetration(int $shieldPenetration): ProjectileLauncherSystemData
$this->shieldPenetration = $shieldPenetration;
return $this;