PHP Class PartKeepr\SetupBundle\Services\PartUnitSetupService

Afficher le fichier Open project: partkeepr/PartKeepr

Méthodes publiques

Méthode Description
__construct ( EntityManager $entityManager )
setupDefaultPartUnit ( ) : boolean Sets up the default part unit (pieces) if it doesn't exist.

Method Details

__construct() public méthode

public __construct ( EntityManager $entityManager )
$entityManager Doctrine\ORM\EntityManager

setupDefaultPartUnit() public méthode

Sets up the default part unit (pieces) if it doesn't exist.
public setupDefaultPartUnit ( ) : boolean
Résultat boolean True if a default unit was created, false if it already exists