for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Stu\Lib\Map\VisualPanel\Layer\Data;
use Doctrine\ORM\Mapping\Column;
use Stu\Lib\Map\FieldTypeEffectEnum;
abstract class AbstractSubspaceData extends AbstractData
{
#[Column(type: 'integer')]
protected int $d1c = 0;
protected int $d2c = 0;
protected int $d3c = 0;
protected int $d4c = 0;
public function getDirection1Count(): int
return $this->d1c;
}
public function getDirection2Count(): int
return $this->d2c;
public function getDirection3Count(): int
return $this->d3c;
public function getDirection4Count(): int
return $this->d4c;
public function isDisabled(): bool
return $this->effects !== null
&& in_array(FieldTypeEffectEnum::NO_SUBSPACE_LINES->value, $this->effects);