You are here

public function SassRootNode::extend in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/tree/SassRootNode.php \SassRootNode::extend()

File

phpsass/tree/SassRootNode.php, line 83

Class

SassRootNode
SassRootNode class. Also the root node of a document. @package PHamlP @subpackage Sass.tree

Code

public function extend($extendee, $selectors) {
  $this->extenders[$extendee] = isset($this->extenders[$extendee]) ? array_merge($this->extenders[$extendee], $selectors) : $selectors;
}