Beispiel #1
0
 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());
 }
Beispiel #2
0
 public function load(\Transphporm\FeatureSet $featureSet)
 {
     $featureSet->registerFormatter(new ReverseFormatter());
 }