__construct() public method

Details may be optionally provided to the constructor.
public __construct ( string | Swift_OutputByteStream $data = null, string $filename = null, string $contentType = null )
$data string | Swift_OutputByteStream
$filename string
$contentType string
示例#1
0
文件: Image.php 项目: saj696/pipe
 /**
  * Create a new EmbeddedFile.
  *
  * Details may be optionally provided to the constructor.
  *
  * @param string|Swift_OutputByteStream $data
  * @param string $filename
  * @param string $contentType
  */
 public function __construct($data = null, $filename = null, $contentType = null)
 {
     parent::__construct($data, $filename, $contentType);
 }
示例#2
0
 /**
  * Create a new EmbeddedFile.
  * Details may be optionally provided to the constructor.
  * @param string|Swift_OutputByteStream $data
  * @param string                        $filename
  * @param string                        $contentType
  */
 public function __construct($data = NULL, $filename = NULL, $contentType = NULL)
 {
     parent::__construct($data, $filename, $contentType);
 }