src/DataListTrait.php
public function get(int $index)
    {
        $this->internalDataListUpdate();
        if (isset($this->internalDataListData[$index])) {
            return $this->internalDataListUpdateValueIfNeeded($this->internalDataListData, $index);
        }
        return null;
    }
public function get(int $index)
    {
        $this->internalDataListUpdate();
        if (isset($this->internalDataListData[$index])) {
            return $this->internalDataListUpdateValueIfNeeded($this->internalDataListData, $index);
        }
        return null;
    }
public function get ( int $ index ) { $ this -> internalDataListUpdate ( ) ; if ( isset ( $ this -> internalDataListData [ $ index ] ) ) { return $ this -> internalDataListUpdateValueIfNeeded ( $ this -> internalDataListData , $ index ) ; } return null ; }
Returns the object at the index specified or null if not found.

@param int $index The index of the item.
@return object|null The object at the index specified or null if not found.
@throws \InvalidArgumentException
Returns the object at the index specified or null if not found .