Exemplo n.º 1
0
 /**
  * Applies the given operation and returns a transformed unit.
  *
  * @param Converter $operation
  *
  * @return Unit
  */
 protected function transform(Converter $operation)
 {
     if ($operation->isIdentity()) {
         return $this;
     }
     return new TransformedUnit($this, $operation);
 }