Copied!
CloneableInstantiable
Methods
public static toXPath(string $selector, bool $ignoreCssSelectorErrors = false, bool $isForHtml = true)
 
  • param string $selector
  • param bool $ignoreCssSelectorErrors <p>
    Ignore css selector errors and use the $selector as it is on error,
    so that you can also use xPath selectors.
    </p>
  • param bool $isForHtml
  • return string
Properties
protected static $compiled = ['.language-PHP' => 'descendant-or-self::*[@class and contains(concat(' ', normalize-space(@class), ' '), ' language-PHP ')]']
 
  • var string[]
  • phpstan-var array<string,string>
Properties
protected static $compiled = ['.language-PHP' => 'descendant-or-self::*[@class and contains(concat(' ', normalize-space(@class), ' '), ' language-PHP ')]']
 
  • var string[]
  • phpstan-var array<string,string>
Methods
public static toXPath(string $selector, bool $ignoreCssSelectorErrors = false, bool $isForHtml = true)
 
  • param string $selector
  • param bool $ignoreCssSelectorErrors <p>
    Ignore css selector errors and use the $selector as it is on error,
    so that you can also use xPath selectors.
    </p>
  • param bool $isForHtml
  • return string
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration