/**
  * Transforms a value from the original representation to a transformed representation.
  * An example might be transforming a unix timestamp to a human readable date format.
  *
  * @param mixed $value The value in the original representation
  *
  * @return mixed The value in the transformed representation
  *
  * @throws TransformationFailedException When the transformation fails.
  */
 public function transform($value)
 {
     if (!\Validator::isUuid($value)) {
         return $value;
     }
     $filesModel = \FilesModel::findByUUid($value);
     if (null === $filesModel) {
         return $value;
     }
     return $filesModel->path;
 }