PHP Class PartKeepr\PartBundle\Entity\PartManufacturer

Inheritance: extends PartKeepr\CoreBundle\Entity\BaseEntity
Show file Open project: partkeepr/PartKeepr Class Usage Examples

Public Methods

Method Description
getManufacturer ( ) Returns the manufacturer which belongs to this part.
getPart ( ) Returns the part which belongs to this manufacturer entry.
getPartNumber ( ) : string Returns the manufacturer-specific part number.
setManufacturer ( Manufacturer $manufacturer ) Sets the manufacturer which belongs to this entry.
setPart ( Part $part = null ) Sets the part which belongs to this manufacturer entry.
setPartNumber ( string $partNumber ) Sets the manufacturer-specific part number.

Method Details

getManufacturer() public method

Returns the manufacturer which belongs to this part.
public getManufacturer ( )

getPart() public method

Returns the part which belongs to this manufacturer entry.
public getPart ( )

getPartNumber() public method

Returns the manufacturer-specific part number.
public getPartNumber ( ) : string
return string The part number

setManufacturer() public method

Sets the manufacturer which belongs to this entry.
public setManufacturer ( Manufacturer $manufacturer )
$manufacturer PartKeepr\ManufacturerBundle\Entity\Manufacturer

setPart() public method

Sets the part which belongs to this manufacturer entry.
public setPart ( Part $part = null )
$part Part

setPartNumber() public method

Sets the manufacturer-specific part number.
public setPartNumber ( string $partNumber )
$partNumber string