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

Breadcrumb

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

class Pseudo

Selector pseudo part base class

@author Marco Marchiò <marco.mm89@gmail.com>

@abstract

Hierarchy

  • class \Peast\Selector\Node\Part\Part
    • class \Peast\Selector\Node\Part\Pseudo extends \Peast\Selector\Node\Part\Part

Expanded class hierarchy of Pseudo

File

vendor/mck89/peast/lib/Peast/Selector/Node/Part/Pseudo.php, line 19

Namespace

Peast\Selector\Node\Part
View source
abstract class Pseudo extends Part {
    
    /**
     * Selector name
     *
     * @var string
     */
    protected $name;
    
    /**
     * Sets the name
     *
     * @param string $name Name
     *
     * @return $this
     */
    public function setName($name) {
        $this->name = $name;
        return $this;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
Part::$priority protected property Priority 4
Part::check abstract public function Returns true if the selector part matches the given node,
false otherwise
5
Part::getPriority public function
Pseudo::$name protected property Selector name
Pseudo::setName public function Sets the name

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal