for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace As3\Modlr\Search\Elastic;
use As3\Modlr\Metadata\AttributeMetadata;
use As3\Modlr\Metadata\FieldMetadata;
use As3\Modlr\Metadata\Interfaces\MergeableInterface;
use As3\Modlr\Metadata\Interfaces\StorageLayerInterface;
/**
* Defines the storage metadata for Elastic.
*
* @author Jacob Bare <[email protected]>
*/
class StorageMetadata implements StorageLayerInterface
{
* @var string
public $clientKey;
public $index;
public $type;
* Returns the client key for this search metadata.
* @return string
public function getKey()
return $this->clientKey;
}
* {@inheritDoc}
public function merge(MergeableInterface $metadata)
return $this;