eZ\Publish\Core\FieldType\Image\IO\Legacy::__construct PHP Method

__construct() public method

public __construct ( eZ\Publish\Core\IO\IOServiceInterface $publishedIOService, eZ\Publish\Core\IO\IOServiceInterface $draftIOService, eZ\Publish\Core\FieldType\Image\IO\OptionsProvider $optionsProvider )
$publishedIOService eZ\Publish\Core\IO\IOServiceInterface
$draftIOService eZ\Publish\Core\IO\IOServiceInterface
$optionsProvider eZ\Publish\Core\FieldType\Image\IO\OptionsProvider
    public function __construct(IOServiceInterface $publishedIOService, IOServiceInterface $draftIOService, OptionsProvider $optionsProvider)
    {
        $this->publishedIOService = $publishedIOService;
        $this->draftIOService = $draftIOService;
        $this->optionsProvider = $optionsProvider;
        $this->setPrefixes();
    }