titanscssc::pushExtends PHP Method

pushExtends() protected method

protected pushExtends ( $target, $origin )
    protected function pushExtends($target, $origin)
    {
        if ($this->isSelfExtend($target, $origin)) {
            return;
        }
        $i = count($this->extends);
        $this->extends[] = array($target, $origin);
        foreach ($target as $part) {
            if (isset($this->extendsMap[$part])) {
                $this->extendsMap[$part][] = $i;
            } else {
                $this->extendsMap[$part] = array($i);
            }
        }
    }
titanscssc