PHP Class Spatie\Backup\Tasks\Backup\Manifest

Inheritance: implements Countabl\Countable
Show file Open project: spatie/laravel-backup Class Usage Examples

Protected Properties

Property Type Description
$manifestPath string

Public Methods

Method Description
__construct ( string $manifestPath )
addFiles ( array $filePaths ) : Manifest
count ( ) : integer
create ( string $manifestPath ) : Manifest
files ( ) : Generator | string[]
path ( ) : string

Method Details

__construct() public method

public __construct ( string $manifestPath )
$manifestPath string

addFiles() public method

public addFiles ( array $filePaths ) : Manifest
$filePaths array
return Manifest

count() public method

public count ( ) : integer
return integer

create() public static method

public static create ( string $manifestPath ) : Manifest
$manifestPath string
return Manifest

files() public method

public files ( ) : Generator | string[]
return Generator | string[]

path() public method

public path ( ) : string
return string

Property Details

$manifestPath protected property

protected string $manifestPath
return string