public function registerDataTypeHandler(DataTypeHandlerInterface $handler)
    {
        foreach ($handler->supports() as $name) {
            $this->handlers[$name] = $handler;
        }
    }
public function registerDataTypeHandler(DataTypeHandlerInterface $handler)
    {
        foreach ($handler->supports() as $name) {
            $this->handlers[$name] = $handler;
        }
    }
public function registerDataTypeHandler ( DataTypeHandlerInterface $ handler ) { foreach ( $ handler -> supports ( ) as $ name ) { $ this -> handlers [ $ name ] = $ handler ; } }
Register data-type handler

@param DataTypeHandlerInterface $handler
Register data - type handler