andersundsehr/aus_driver_amazon_s3

View on GitHub
Classes/S3Adapter/AbstractS3Adapter.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/***
 *
 * This file is part of an extension for TYPO3 CMS.
 *
 * For the full copyright and license information, please read the
 * LICENSE.txt file that was distributed with this source code.
 *
 * (c) 2020 Markus Hölzle <typo3@markus-hoelzle.de>
 *
 ***/

namespace AUS\AusDriverAmazonS3\S3Adapter;

use Aws\S3\S3Client;

/**
 * Class AbstractS3Adapter
 *
 * @author Markus Hölzle <typo3@markus-hoelzle.de>
 * @package AUS\AusDriverAmazonS3\S3Adapter
 */
class AbstractS3Adapter
{
    /**
     * @var S3Client
     */
    protected $s3Client;

    /**
     * AbstractS3Adapter constructor.
     * @param S3Client $s3Client
     */
    public function __construct(S3Client $s3Client = null)
    {
        $this->s3Client = $s3Client;
    }
}