public function __construct()

in src/AppSearch/Schema/ApiKey.php [38:45]


	public function __construct(string $name, string $type)
	{
		$this->name = $name;
		if (!in_array($type, ['private','search','admin'])) {
			throw new InvalidArgumentException('The $type parameter must be one of these values: private,search,admin');
		}
		$this->type = $type;
	}