protected function createEmbedViaData($data, $filename = null, $contentType = null)
    {
        return $this->getManager()->getDI()->get('\Swift_Image', [$data, $filename, $contentType]);
    }
protected function createEmbedViaData($data, $filename = null, $contentType = null)
    {
        return $this->getManager()->getDI()->get('\Swift_Image', [$data, $filename, $contentType]);
    }
protected function createEmbedViaData ( $ data , $ filename = null , $ contentType = null ) { return $ this -> getManager ( ) -> getDI ( ) -> get ( '\Swift_Image' , [ $ data , $ filename , $ contentType ] ) ; }
Create a Swift new Image.

@param string $data
@param string|null $filename
@param string|null $contentType

@return \Swift_Image

@see \Swift_Image::newInstance()
Create a Swift new Image .