public function removeAttachment($attachment)
	{
		if (!($attachment instanceof Swift_Mime_MimeEntity))
		{
			$attachment = \Swift_Attachment::fromPath($attachment);
		}

		return $this->detach($attachment);
	}
public function removeAttachment($attachment)
	{
		if (!($attachment instanceof Swift_Mime_MimeEntity))
		{
			$attachment = \Swift_Attachment::fromPath($attachment);
		}

		return $this->detach($attachment);
	}
public function removeAttachment ( $ attachment ) { if ( ! ( $ attachment instanceof Swift_Mime_MimeEntity ) ) { $ attachment = \ Swift_Attachment :: fromPath ( $ attachment ) ; } return $ this -> detach ( $ attachment ) ; }
Remove an attachment

@param   mixed  $attachment  File path (string) or object (Swift_Mime_MimeEntity)
@return  object
Remove an attachment