PHP Class PartKeepr\MimetypeIconsBundle\Services\MimetypeIconService

Inheritance: extends Symfony\Component\DependencyInjection\ContainerAware
Afficher le fichier Open project: partkeepr/PartKeepr

Protected Properties

Свойство Type Description
$container Symfony\Component\DependencyInjection\Container

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\DependencyInjection\Container $container )
getMimetypeIcon ( string $mimetype ) : string Returns the file path to an image file which represents the passed mimetype.

Method Details

__construct() public méthode

public __construct ( Symfony\Component\DependencyInjection\Container $container )
$container Symfony\Component\DependencyInjection\Container

getMimetypeIcon() public méthode

Returns the file path to an image file which represents the passed mimetype.
public getMimetypeIcon ( string $mimetype ) : string
$mimetype string The mimetype
Résultat string A path to the mimetype icon

Property Details

$container protected_oe property

protected Container,Symfony\Component\DependencyInjection $container
Résultat Symfony\Component\DependencyInjection\Container