Splits the CSS selector into parts (tag name, ID, classes, attributes, pseudo-class).
public static getSegments ( string $selector ) : array | ||
$selector | string | CSS selector |
return | array |
public static getSegments ( string $selector ) : array | ||
$selector | string | CSS selector |
return | array |