Debian Codegraph @

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

raw
1 <?php
2 /**
3 * This file is part of the Peast package
4 *
5 * (c) Marco Marchiò <[email protected]>
6 *
7 * For the full copyright and license information refer to the LICENSE file
8 * distributed with this source code
9 */
10 namespace Peast\Selector\Node\Part;
11
12 /**
13 * Selector pseudo part base class
14 *
15 * @author Marco Marchiò <[email protected]>
16 *
17 * @abstract
18 */
19 abstract class Pseudo extends Part
20 {
21 /**
22 * Selector name
23 *
24 * @var string
25 */
26 protected $name;
27
28 /**
29 * Sets the name
30 *
31 * @param string $name Name
32 *
33 * @return $this
34 */
35 public function setName($name)
36 {
37 $this->name = $name;
38 return $this;
39 }
40 }