Documentation

FileManager
in package
implements FileManagerInterface

This is a file manager class for generating destinations

Tags
author

Eric Huang eric.huang@atelli.ai

Interfaces, Classes, Traits and Enums

FileManagerInterface
This is a FileManagerInterface, all file manager classes must implmenting this interface

Table of Contents

$destPath  : string
$dests  : array<string|int, string>
$extension  : mixed
$format  : string
$prefix  : string
__construct()  : mixed
construct
generate()  : string
genearte
getDestinations()  : array<string|int, string>
get destinations

Properties

$dests

private array<string|int, string> $dests = []

Methods

__construct()

construct

public __construct(string $destPath, string $extension[, string $prefix = 'file_' ][, int $sequenceLength = 3 ]) : mixed
Parameters
$destPath : string
$extension : string
$prefix : string = 'file_'

defaut: file_

$sequenceLength : int = 3

default: 3

Return values
mixed

generate()

genearte

public generate() : string
Return values
string

getDestinations()

get destinations

public getDestinations() : array<string|int, string>
Return values
array<string|int, string>

Search results