PHP Class PartKeepr\SetupBundle\Services\PartUnitSetupService

Mostrar archivo Open project: partkeepr/PartKeepr

Public Methods

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

Method Details

__construct() public method

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

setupDefaultPartUnit() public method

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