src/WelderLourenco/LaravelSeeder/LaravelSeeder.php
public function getList($list)
	{
		$filteredList = [];

		foreach (explode(',', $list) as $item)
		{
			if ($item != '')
			{
				$filteredList[] = $item;
			}
		}

		return $filteredList;
	}
public function getList($list)
	{
		$filteredList = [];

		foreach (explode(',', $list) as $item)
		{
			if ($item != '')
			{
				$filteredList[] = $item;
			}
		}

		return $filteredList;
	}
public function getList ( $ list ) { $ filteredList = [ ] ; foreach ( explode ( ',' , $ list ) as $ item ) { if ( $ item != '' ) { $ filteredList [ ] = $ item ; } } return $ filteredList ; }
Recieves the string list entered by the developer, explode it and only return the ones filtered.

@param  string $list
@return array
Recieves the string list entered by the developer explode it and only return the ones filtered .