FluentDOM\Loadable::load PHP Method

load() public method

Load the data source and return the new DOM document. Return NULL if the data source could not be loaded.
public load ( mixed $source, string $contentType, array | Traversable | Options $options = [] ) : Document | Result | null
$source mixed
$contentType string
$options array | Traversable | FluentDOM\Loader\Options Optional options for the loader
return Document | Result | null
    function load($source, $contentType, $options = []);