/**
  * @param   array   $value
  * @param   int         $flag   A flag used by the `ValueType::getType()` method (not used here)
  * @throws  \ReflectionException if the parameter is not an array
  */
 public function __construct($value, $flag = ValueType::MODE_STRICT)
 {
     if (!ValueType::isArray($value)) {
         throw new \ReflectionException(sprintf(__METHOD__ . ' expects parameter one to be array, %s given', gettype($value)));
     }
     $this->setReadOnlyProperties($this::$_read_only);
     $this->type = ValueType::TYPE_ARRAY;
     $this->value = $value;
     $this->length = count($value);
 }