public function isImage()
	{
		$mime = $this->getMimeType();
		
		// The $imageMimes property contains an array of file extensions and
		// their associated MIME types. We will loop through them and look for 
		// the MIME type of the current SymfonyUploadedFile.
		foreach ($this->imageMimes as $imageMime)
		{
			if (in_array($mime, (array) $imageMime))
			{
				return true;
			}
		}

		return false;
	}
public function isImage()
	{
		$mime = $this->getMimeType();
		
		// The $imageMimes property contains an array of file extensions and
		// their associated MIME types. We will loop through them and look for 
		// the MIME type of the current SymfonyUploadedFile.
		foreach ($this->imageMimes as $imageMime)
		{
			if (in_array($mime, (array) $imageMime))
			{
				return true;
			}
		}

		return false;
	}
public function isImage ( ) { $ mime = $ this -> getMimeType ( ) ; // The $imageMimes property contains an array of file extensions and // their associated MIME types. We will loop through them and look for  // the MIME type of the current SymfonyUploadedFile. foreach ( $ this -> imageMimes as $ imageMime ) { if ( in_array ( $ mime , ( array ) $ imageMime ) ) { return true ; } } return false ; }
Method for determining whether the uploaded file is
an image type.

@return boolean
Method for determining whether the uploaded file is an image type .