public function getEmbed($attachment)
	{
		if (!($attachment instanceof \Swift_Image))
		{
			$attachment = \Swift_Image::fromPath($attachment);
		}

		return $this->embed($attachment);
	}
public function getEmbed($attachment)
	{
		if (!($attachment instanceof \Swift_Image))
		{
			$attachment = \Swift_Image::fromPath($attachment);
		}

		return $this->embed($attachment);
	}
public function getEmbed ( $ attachment ) { if ( ! ( $ attachment instanceof \ Swift_Image ) ) { $ attachment = \ Swift_Image :: fromPath ( $ attachment ) ; } return $ this -> embed ( $ attachment ) ; }
Get an embed string for an attachment

@param   mixed  $attachment  File path (string) or object (Swift_Image)
@return  object
Get an embed string for an attachment