protected function flushWrites()
	{
		foreach ($this->queuedForWrite as $style)
		{
      		if ($style->value && $this->uploadedFile->isImage()) {
				$file = $this->resizer->resize($this->uploadedFile, $style);
			}
			else {
				$file = $this->uploadedFile->getRealPath();
			}

			$filePath = $this->path($style->name);
			$this->move($file, $filePath);
		}

		$this->queuedForWrite = array();
	}
protected function flushWrites()
	{
		foreach ($this->queuedForWrite as $style)
		{
      		if ($style->value && $this->uploadedFile->isImage()) {
				$file = $this->resizer->resize($this->uploadedFile, $style);
			}
			else {
				$file = $this->uploadedFile->getRealPath();
			}

			$filePath = $this->path($style->name);
			$this->move($file, $filePath);
		}

		$this->queuedForWrite = array();
	}
protected function flushWrites ( ) { foreach ( $ this -> queuedForWrite as $ style ) { if ( $ style -> value && $ this -> uploadedFile -> isImage ( ) ) { $ file = $ this -> resizer -> resize ( $ this -> uploadedFile , $ style ) ; } else { $ file = $ this -> uploadedFile -> getRealPath ( ) ; } $ filePath = $ this -> path ( $ style -> name ) ; $ this -> move ( $ file , $ filePath ) ; } $ this -> queuedForWrite = array ( ) ; }
Process the queuedForWrite que.

@return void
Process the queuedForWrite que .