/**
* Construct from gateways
*
* @param \eZ\Publish\Core\FieldType\StorageGateway[] $gateways
* @param IOServiceInterface $IOService
* @param PathGenerator $pathGenerator
* @param MimeTypeDetector $mimeTypeDetector
*/
public function __construct(array $gateways, IOServiceInterface $IOService, PathGenerator $pathGenerator, MimeTypeDetector $mimeTypeDetector)
{
parent::__construct($gateways);
$this->IOService = $IOService;
$this->pathGenerator = $pathGenerator;
$this->mimeTypeDetector = $mimeTypeDetector;
}