Scalr\Service\Aws\DataType\ListDataType::get PHP Method

get() public method

Gets an original object at position N
public get ( integer $position = null ) : mixed
$position integer optional A position at the list. If null it will use current position.
return mixed Returns an original object at position N in the list.
    public function get($position = null)
    {
        if ($position === null) {
            $position = $this->listPosition;
        }
        return isset($this->aListData[$position]) ? $this->aListData[$position] : null;
    }