FluentDOM\Exceptions\InvalidSource::__construct PHP Méthode

__construct() public méthode

public __construct ( mixed $source, string $contentType )
$source mixed
$contentType string
    public function __construct($source, $contentType)
    {
        parent::__construct(sprintf('Can not load %s as "%s".', is_object($source) ? get_class($source) : gettype($source), $contentType));
    }
InvalidSource