SilverStripe\Elastica\ElasticaService::ensureMapping
Ensure that there is a mapping present.
Signature
protected function ensureMapping(Type
$type,
DataObject
$record )
Parameters
Returns
- Mapping
- Mapping object