__construct() public method

Construct from gateways.
public __construct ( array $gateways = [] )
$gateways array
 /**
  * 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;
 }
 public function __construct(array $gateways, IOServiceInterface $IOService, PathGenerator $pathGenerator, MetadataHandler $imageSizeMetadataHandler, DeprecationWarner $deprecationWarner, AliasCleanerInterface $aliasCleaner = null)
 {
     parent::__construct($gateways);
     $this->IOService = $IOService;
     $this->pathGenerator = $pathGenerator;
     $this->imageSizeMetadataHandler = $imageSizeMetadataHandler;
     $this->deprecationWarner = $deprecationWarner;
     $this->aliasCleaner = $aliasCleaner;
 }
 /**
  * @param \eZ\Publish\Core\FieldType\StorageGateway[] $gateways
  * @param \Psr\Log\LoggerInterface $logger
  */
 public function __construct(array $gateways = array(), LoggerInterface $logger = null)
 {
     parent::__construct($gateways);
     $this->logger = $logger;
 }