Copied!
Cloneable Instantiable
Methods
public static toXPath ( string $selector , bool $ignoreCssSelectorErrors = false , bool $isForHtml = true )
 
  • param string $selector
  • param bool $ignoreCssSelectorErrors

    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
Properties
protected static $compiled = [ '.language-PHP' => 'descendant-or-self::*[@class and contains(concat(' ', normalize-space(@class), ' '), ' language-PHP ')]' ]
 
  • var string []
  • phpstan-var array
Methods
public static toXPath ( string $selector , bool $ignoreCssSelectorErrors = false , bool $isForHtml = true )
 
  • param string $selector
  • param bool $ignoreCssSelectorErrors

    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
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration