<?php
namespace Modules\Admin\Config\ImportedOrders\SystemManagement\Systems;

class TypesList
{
	/**
	 * The internal list of systems types
	 * @var array:\Modules\Admin\Config\ImportedOrders\SystemManagement\Systems\Type
	 */
	protected $types = [];

	/**
	 * Append a system type to the list
	 * @param \Modules\Admin\Config\ImportedOrders\SystemManagement\Systems\Type $type
	 */
	public function append(\Modules\Admin\Config\ImportedOrders\SystemManagement\Systems\Type $type)
	{
		$this->types[] = $type;
	}

	/**
	 * Get the list will all the systems types
	 * @return array:\Modules\Admin\Config\ImportedOrders\SystemManagement\Systems\Type
	 */
	public function getAll()
	{
		return $this->types;
	}
}