메소드 | 설명 | |
---|---|---|
__construct ( |
||
importManufacturers ( ) : array | Imports manufacturers. |
메소드 | 설명 | |
---|---|---|
createManufacturer ( $manufacturerName, $manufacturerData ) | ||
manufacturerExists ( string $name ) : true | Checks if the specified manufacturer exists. |
public __construct ( |
||
$entityManager | ||
$uploadedFileService | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface |
public importManufacturers ( ) : array | ||
리턴 | 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 |
리턴 | true | if the manufacturer exists, false otherwise |