PHP Trait FluentDOM\Loader\Supports

Afficher le fichier Open project: fluentdom/fluentdom

Méthodes publiques

Méthode Description
getSupported ( ) : string[]
supports ( string $contentType ) : boolean

Private Methods

Méthode Description
startsWith ( string $haystack, string $needle, boolean $ignoreWhitespace = TRUE ) : boolean Allow the loaders to validate the first part of the provided string.

Method Details

getSupported() public méthode

public getSupported ( ) : string[]
Résultat string[]

supports() public méthode

See also: Loadable::supports
public supports ( string $contentType ) : boolean
$contentType string
Résultat boolean