src/Console/Commands/DeleteIfForcedTrait.php
protected function deleteIfForced(array $files)
	{
		if( ! $this->option('force')) return;

		foreach ($files as $file)
		{
			if($this->files->exists($path = $this->getPath($file)))
			{
				$this->files->delete($path);
			}
		}
	}
protected function deleteIfForced(array $files)
	{
		if( ! $this->option('force')) return;

		foreach ($files as $file)
		{
			if($this->files->exists($path = $this->getPath($file)))
			{
				$this->files->delete($path);
			}
		}
	}
Delete the given files if force is set.

@author	Andrea Marco Sartori
@return	void