for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace AmaTeam\ElasticSearch\API\Annotation\Mapping;
/**
* @Annotation
* @Target({"CLASS", "PROPERTY"})
*/
class Type implements ViewAwareAnnotationInterface
{
* @var string
public $type;
* @var array<string>
public $views;
* @return array
public function getViews(): array
return $this->views;
}