示例#1
0
 /**
  * @param string                                           $name
  * @param \Gaufrette\Filesystem                            $filesystem
  * @param CDNInterface                                     $cdn
  * @param GeneratorInterface                               $pathGenerator
  * @param ThumbnailInterface                               $thumbnail
  * @param array                                            $allowedExtensions
  * @param array                                            $allowedMimeTypes
  */
 public function __construct($name, Filesystem $filesystem, CDNInterface $cdn, GeneratorInterface $pathGenerator, ThumbnailInterface $thumbnail, array $allowedExtensions = array(), array $allowedMimeTypes = array())
 {
     parent::__construct($name, $filesystem, $cdn, $pathGenerator, $thumbnail, $allowedExtensions, $allowedMimeTypes);
 }
示例#2
0
 /**
  * @param string                                           $name
  * @param \Gaufrette\Filesystem                            $filesystem
  * @param CDNInterface                                     $cdn
  * @param GeneratorInterface                               $pathGenerator
  * @param ThumbnailInterface                               $thumbnail
  * @param array                                            $allowedExtensions
  * @param array                                            $allowedMimeTypes
  * @param \Imagine\Image\ImagineInterface                  $adapter
  */
 public function __construct($name, Filesystem $filesystem, CDNInterface $cdn, GeneratorInterface $pathGenerator, ThumbnailInterface $thumbnail, array $allowedExtensions = array(), array $allowedMimeTypes = array(), ImagineInterface $adapter = null)
 {
     parent::__construct($name, $filesystem, $cdn, $pathGenerator, $thumbnail, $allowedExtensions, $allowedMimeTypes);
     $this->imagineAdapter = $adapter;
 }