메소드 | 설명 | |
---|---|---|
__construct ( |
||
importFootprints ( ) : array | Imports the existing footprints. Skips existing footprints. |
메소드 | 설명 | |
---|---|---|
addFootprintCategoryPath ( array $path, |
Creates a node structure for the given path. | |
createFootprint ( $footprintName, $footprintData ) | ||
footprintExists ( string $name ) : boolean | Checks if the specified footprint exists. |
public __construct ( |
||
$entityManager | ||
$categoryService | ||
$uploadedFileService | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface |
protected addFootprintCategoryPath ( array $path, |
||
$path | array | array The components of the path |
$parentNode | FootprintCategory The parent node | |
리턴 |
protected footprintExists ( string $name ) : boolean | ||
$name | string | The footprint name |
리턴 | boolean | true if the footprints exists, false otherwise |
public importFootprints ( ) : array | ||
리턴 | array | An array with the keys "skipped" and "imported" which contain the number of footprints skipped and imported |