src/Incoming/Structure/FixedList.php
public function get(int $index, $default_val = null)
    {
        if ($this->offsetExists($index)) {
            return $this->offsetGet($index);
        }

        return $default_val;
    }
public function get(int $index, $default_val = null)
    {
        if ($this->offsetExists($index)) {
            return $this->offsetGet($index);
        }

        return $default_val;
    }
public function get ( int $ index , $ default_val = null ) { if ( $ this -> offsetExists ( $ index ) ) { return $ this -> offsetGet ( $ index ) ; } return $ default_val ; }
Get a value in the list by index.

@param int $index The index to get the value for.
@param mixed $default_val The default value to return if the index does
not exist.
@return mixed The resulting value.
Get a value in the list by index .