eZ\Publish\Core\FieldType\BinaryBase\BinaryBaseStorage::__construct PHP Method

__construct() public method

Construct from gateways.
public __construct ( array $gateways, eZ\Publish\Core\IO\IOServiceInterface $IOService, eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator $pathGenerator, eZ\Publish\SPI\IO\MimeTypeDetector $mimeTypeDetector )
$gateways array
$IOService eZ\Publish\Core\IO\IOServiceInterface
$pathGenerator eZ\Publish\SPI\FieldType\BinaryBase\PathGenerator
$mimeTypeDetector eZ\Publish\SPI\IO\MimeTypeDetector
    public function __construct(array $gateways, IOServiceInterface $IOService, PathGenerator $pathGenerator, MimeTypeDetector $mimeTypeDetector)
    {
        parent::__construct($gateways);
        $this->IOService = $IOService;
        $this->pathGenerator = $pathGenerator;
        $this->mimeTypeDetector = $mimeTypeDetector;
    }