Method | Description | |
---|---|---|
__construct ( |
||
importManufacturers ( ) : array | Imports manufacturers. |
Method | Description | |
---|---|---|
createManufacturer ( $manufacturerName, $manufacturerData ) | ||
manufacturerExists ( string $name ) : true | Checks if the specified manufacturer exists. |
public __construct ( |
||
$entityManager | ||
$uploadedFileService | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface |
protected createManufacturer ( $manufacturerName, $manufacturerData ) |
public importManufacturers ( ) : array | ||
return | array | An array with the keys "skipped" and "imported" which contain the number of manufacturers skipped and imported |
protected manufacturerExists ( string $name ) : true | ||
$name | string | The manufacturer name |
return | true | if the manufacturer exists, false otherwise |