/**
  * Creates a FixedAssociativeArray class with data using an existing array as input.
  *
  * @author Francois Raeven <*****@*****.**>
  *
  * @param array $source Which will be entirely converted to a FixedAssociativeArray
  *
  * @return FixedAssociativeArray
  */
 public static function freeze(array $source)
 {
     $obj = new self(array_keys($source));
     $obj->massUpdate($source);
     return $obj;
 }