HM\BackUpWordPress\Site_Size::__construct PHP Метод

__construct() публичный Метод

Set up some initial conditions including whether we want to calculate the size of the database, files or both and whether to exclude any files from the file size calculation.
public __construct ( string $type = 'complete', Excludes $excludes = null )
$type string Whether to calculate the size of the database, files or both. Should be one of 'file', 'database' or 'complete'
$excludes Excludes An array of exclude rules
    public function __construct($type = 'complete', Excludes $excludes = null)
    {
        $this->type = $type;
        $this->excludes = $excludes;
    }