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

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

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