Skip to content

Interface EnricherInterface

Interface \Klitsche\Dog\Enrichers\EnricherInterface

Methods

create()

public static create ( 
    string $id, 
    \Klitsche\Dog\ConfigInterface $config
 ): self
Parameters
id string
config \Klitsche\Dog\ConfigInterface
Returns
self

getId()

public getId (  ): string
Returns
string

prepare()

public prepare (  ): void

enrich()

public enrich ( 
    \Klitsche\Dog\Enrichers\DataAwareInterface $dataHolder
 ): void
Parameters
dataHolder \Klitsche\Dog\Enrichers\DataAwareInterface

Implemented by