Newscoop\Installer\Services\BootstrapService::__construct PHP Method

__construct() public method

Construct class
public __construct ( object $logger = null, array $directories = ['cache', 'log', 'library/Proxy', 'themes'], string $basePath = null )
$logger object
$directories array
$basePath string
    public function __construct($logger = null, $directories = array('cache', 'log', 'library/Proxy', 'themes'), $basePath = null)
    {
        $this->mustBeWritable = $directories;
        $this->filesystem = new Filesystem();
        $this->logger = $logger;
        $this->basePath = $basePath;
        if (is_null($basePath)) {
            $this->basePath = __DIR__ . '/../../../../';
        }
    }