Devise\Media\Images\Manager::__construct PHP Method

__construct() public method

Construct a new image manager
public __construct ( Filesystem $Filesystem, CategoryPaths $CategoryPaths, Images $Images, Illuminate\Config\Repository $Config = null )
$Filesystem Devise\Media\Files\Filesystem
$CategoryPaths Devise\Media\Categories\CategoryPaths
$Images Images
$Config Illuminate\Config\Repository
    public function __construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths, Images $Images, $Config = null)
    {
        $this->Filesystem = $Filesystem;
        $this->CategoryPaths = $CategoryPaths;
        $this->Images = $Images;
        $this->Config = $Config ?: \Config::getFacadeRoot();
    }