protected function checkItems(array $data)
	{
		foreach ($data as &$item)
		{
			if( ! $item instanceof Model )
			{
				$item = new $this->defaultModel($item);
			}
		}

		return $data;
	}
protected function checkItems(array $data)
	{
		foreach ($data as &$item)
		{
			if( ! $item instanceof Model )
			{
				$item = new $this->defaultModel($item);
			}
		}

		return $data;
	}
protected function checkItems ( array $ data ) { foreach ( $ data as & $ item ) { if ( ! $ item instanceof Model ) { $ item = new $ this -> defaultModel ( $ item ) ; } } return $ data ; }
Check if all items are instance of Model
if not, create new Model for each item

@param  array  $data

@return array
Check if all items are instance of Model if not create new Model for each item