PHP Class PartKeepr\StorageLocationBundle\Entity\StorageLocation

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

Public Methods

Method Description
getCategory ( ) : StorageLocationCategory Returns the category of this storage location.
getCategoryPath ( ) : string Returns the category path.
getImage ( ) : StorageLocationImage Returns the storage location image.
getName ( ) : string Returns the name of the storage location.
setCategory ( StorageLocationCategory $category ) : void Sets the category for this storage location.
setImage ( StorageLocationImage $image ) : void Sets the storage location image.
setName ( string $name ) Sets the name for the storage location.

Method Details

getCategory() public method

Returns the category of this storage location.
public getCategory ( ) : StorageLocationCategory
return StorageLocationCategory The storage location category

getCategoryPath() public method

Returns the category path.
public getCategoryPath ( ) : string
return string

getImage() public method

Returns the storage location image.
public getImage ( ) : StorageLocationImage
return StorageLocationImage The storage location image

getName() public method

Returns the name of the storage location.
public getName ( ) : string
return string The name

setCategory() public method

Sets the category for this storage location.
public setCategory ( StorageLocationCategory $category ) : void
$category StorageLocationCategory The category
return void

setImage() public method

Sets the storage location image.
public setImage ( StorageLocationImage $image ) : void
$image StorageLocationImage The storage location image
return void

setName() public method

Sets the name for the storage location.
public setName ( string $name )
$name string the name to set