PHP Class WellCommerce\Bundle\MediaBundle\Entity\Media

Author: Adam Piotrowski ([email protected])
Inheritance: implements WellCommerce\Bundle\MediaBundle\Entity\MediaInterface, use trait Knp\DoctrineBehaviors\Model\Timestampable\Timestampable, use trait Knp\DoctrineBehaviors\Model\Blameable\Blameable
显示文件 Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$extension string
$mime string
$name string
$path string
$size string

Public Methods

Method Description
getExtension ( ) : string
getFullName ( ) : string
getMime ( ) : string
getName ( ) : string
getPath ( ) : string
getSize ( ) : integer
preUpload ( )
setExtension ( string $extension )
setMime ( string $mime )
setName ( string $name )
setPath ( string $path )
setSize ( integer $size )

Method Details

getExtension() public method

public getExtension ( ) : string
return string

getFullName() public method

public getFullName ( ) : string
return string

getMime() public method

public getMime ( ) : string
return string

getName() public method

public getName ( ) : string
return string

getPath() public method

public getPath ( ) : string
return string

getSize() public method

public getSize ( ) : integer
return integer

preUpload() public method

public preUpload ( )

setExtension() public method

public setExtension ( string $extension )
$extension string

setMime() public method

public setMime ( string $mime )
$mime string

setName() public method

public setName ( string $name )
$name string

setPath() public method

public setPath ( string $path )
$path string

setSize() public method

public setSize ( integer $size )
$size integer

Property Details

$extension protected_oe property

protected string $extension
return string

$mime protected_oe property

protected string $mime
return string

$name protected_oe property

protected string $name
return string

$path protected_oe property

protected string $path
return string

$size protected_oe property

protected string $size
return string