function __construct(array $records)
 {
     $databaseRecords = [];
     foreach ($records as $record) {
         $databaseRecords[] = new MixedRecord($record);
     }
     parent::__construct($databaseRecords);
 }
 /**
  * InstanceRecordContainer constructor.
  * @param string $className
  * @param DatabaseRecord[] $records
  */
 public function __construct($className, $records)
 {
     $this->className = $className;
     parent::__construct($records);
 }