SchemeFieldsImporter
Table of Contents
-
$adapter
: FileAdapter
-
$organizationId
: ObjectId
-
$schemesCollection
: SchemesCollection
-
__construct()
: mixed
-
import()
: void
-
buildTree()
: array<string|int, mixed>
-
validateFieldsArray()
: void
$adapter
read-only
private
FileAdapter
$adapter
$organizationId
read-only
private
ObjectId
$organizationId
$schemesCollection
read-only
private
SchemesCollection
$schemesCollection
__construct()
public
__construct(FileAdapter $adapter, SchemesCollection $schemesCollection, ObjectId $organizationId) : mixed
Parameters
-
$adapter
: FileAdapter
-
-
$schemesCollection
: SchemesCollection
-
-
$organizationId
: ObjectId
-
Return values
mixed
—
import()
public
import(FileInterface $file, ObjectId $schemeId) : void
Parameters
-
$file
: FileInterface
-
-
$schemeId
: ObjectId
-
Return values
void
—
buildTree()
private
buildTree(array<string|int, mixed> $elements) : array<string|int, mixed>
Parameters
-
$elements
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
—
validateFieldsArray()
private
validateFieldsArray(mixed $fieldsArray) : void
Parameters
-
$fieldsArray
: mixed
-
Return values
void
—