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.
  • 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.
  • param bool $isForHtml
  • return string
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration