Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Combinator.php

function Combinator::addPart

Adds a new selector part

Parameters

Part\Part $part Part:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Selector/Node/Combinator.php, line 55

Class

Combinator
Selector combinator class

Namespace

Peast\Selector\Node

Code

public function addPart(Part\Part $part) {
    $this->parts[] = $part;
    return $this;
}
RSS feed
Powered by Drupal