PHP Class Sulu\Bundle\MediaBundle\Media\TypeManager\TypeManager

Inheritance: implements Sulu\Bundle\MediaBundle\Media\TypeManager\TypeManagerInterface
Exibir arquivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Doctrine\Common\Persistence\ObjectManager $objectManager, array $mediaTypes, array $blockedMimeTypes )
get ( $id )
getMediaType ( $fileMimeType )

Method Details

__construct() public method

public __construct ( Doctrine\Common\Persistence\ObjectManager $objectManager, array $mediaTypes, array $blockedMimeTypes )
$objectManager Doctrine\Common\Persistence\ObjectManager
$mediaTypes array
$blockedMimeTypes array

get() public method

public get ( $id )

getMediaType() public method

public getMediaType ( $fileMimeType )