2017-2025 * Copyright Longitude One 2020-2025 * Copyright 2015 Derek J. Lambert * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * */ declare(strict_types=1); namespace LongitudeOne\Spatial\Tests\Fixtures; use Doctrine\ORM\Mapping\Column; use Doctrine\ORM\Mapping\Entity; use Doctrine\ORM\Mapping\GeneratedValue; use Doctrine\ORM\Mapping\Id; use Doctrine\ORM\Mapping\Table; use LongitudeOne\Spatial\PHP\Types\Geometry\MultiLineString; /** * MultiLineString entity. * * @author Alexandre Tranchant * @license https://alexandre-tranchant.mit-license.org MIT * * @internal */ #[Table] #[Entity] class MultiLineStringEntity implements SingleEntityInterface { #[Id] #[GeneratedValue(strategy: 'AUTO')] #[Column(type: 'integer')] protected int $id; #[Column(type: 'multilinestring', nullable: true)] protected MultiLineString $multiLineString; /** * Get id. */ public function getId(): int { return $this->id; } /** * Get multiLineString. */ public function getMultiLineString(): MultiLineString { return $this->multiLineString; } /** * Set multiLineString. * * @param MultiLineString $multiLineString multiLineString to set */ public function setMultiLineString(MultiLineString $multiLineString): self { $this->multiLineString = $multiLineString; return $this; } }