FluentDOM\Loader\Lazy::load PHP Метод

load() публичный Метод

public load ( string $source, mixed $contentType, array | Traversable | Options $options = [] ) : Document | Result | null
$source string
$contentType mixed
$options array | Traversable | Options
Результат FluentDOM\Document | Result | null
    public function load($source, $contentType, $options = [])
    {
        $contentType = $this->normalizeContentType($contentType);
        if ($loader = $this->get($contentType)) {
            return $loader->load($source, $contentType, $options);
        }
        return NULL;
    }