public function validateFileUpload(File $file, $sourceFilePath = null)
	{
		// file validation
		foreach ($this->fileUploadFilters as $filter) {
			/* @var $filter Validation\FileValidationInterface */
			$filter->validateFile($file, $sourceFilePath);
		}
	}
public function validateFileUpload(File $file, $sourceFilePath = null)
	{
		// file validation
		foreach ($this->fileUploadFilters as $filter) {
			/* @var $filter Validation\FileValidationInterface */
			$filter->validateFile($file, $sourceFilePath);
		}
	}
public function validateFileUpload ( File $ file , $ sourceFilePath = null ) { // file validation foreach ( $ this -> fileUploadFilters as $ filter ) { /* @var $filter Validation\FileValidationInterface */ $ filter -> validateFile ( $ file , $ sourceFilePath ) ; } }
Validates against filters
@param File $file
Validates against filters