PHP Trait FluentDOM\Loader\Supports

Datei anzeigen Open project: fluentdom/fluentdom

Public Methods

Method Description
getSupported ( ) : string[]
supports ( string $contentType ) : boolean

Private Methods

Method 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 method

public getSupported ( ) : string[]
return string[]

supports() public method

See also: Loadable::supports
public supports ( string $contentType ) : boolean
$contentType string
return boolean