public function load(\Transphporm\FeatureSet $featureSet) { $locale = $this->getLocale(); $featureSet->registerFormatter(new \Transphporm\Formatter\Number($locale)); $featureSet->registerFormatter(new \Transphporm\Formatter\Date($locale)); $featureSet->registerFormatter(new \Transphporm\Formatter\StringFormatter()); }
public function load(\Transphporm\FeatureSet $featureSet) { $featureSet->registerFormatter(new ReverseFormatter()); }