Enable named component for compiler

@param string $name component name

@return $this
544430
public function enableComponent($name)
    {
        if (!array_key_exists($name, $this->components)) {
            throw new NotValidCompoenentException($name . ' component is not valid');
        }

        $this->components[$name] = true;

        return $this;
    }
91002
public function set_name( $name )
    {
        foreach($this->components as $c)
        {
            $c->name_template = str_replace('{{parent_name}}', $this->get_name(), $c->composite_name_template);
        }
    }
129165
public function remove($name)
    {
        unset($this->plugins[$name]);
        $this->names = array_keys($this->plugins);

        return $this;
    }
527610
public function setName($name) {
    $this->reflection = NULL;
    $this->name = trim($name, '\\');
    return $this;
  }
1082395
public function setName($name) {
    if (($pos = mb_strrpos($name,'.')) !== FALSE) {
      $this->name = mb_substr($name, 0, $pos);
      $this->extension = mb_substr($name, $pos+1);
    } else {
      $this->name = $name;
    }
    
    return $this;
  }
1233969
public function setName($name) {
    /** @var TokenNode $identifier */
    $identifier = $this->name->firstChild();
    $identifier->setText($name);
    return $this;
  }
206173
public function getComponentByName($name)
    {
        foreach ($this->components as $component) {
            if ($component->getName() == $name) {
                return $component;
            }
        }
    }
1257719
public function addCustomCompiler($name, $compiler)
    {
        if (!is_callable($compiler)) {
            throw new \InvalidArgumentException('Compiler should be callable.');
        }

        $this->customCompilers[$name] = $compiler;

        return $this;
    }
496060
public function enable($name)
    {
        if (! $this->has($name)) {
            throw new InvalidArgumentException("Filter '" . $name . "' does not exist.");
        }

        if (! $this->isEnabled($name)) {
            $filterClass = $this->config->getFilterClassName($name);

            $this->enabledFilters[$name] = new $filterClass($this->em);

            // Keep the enabled filters sorted for the hash
            ksort($this->enabledFilters);

            // Now the filter collection is dirty
            $this->filtersState = self::FILTERS_STATE_DIRTY;
        }

        return $this->enabledFilters[$name];
    }
780838
public function registerInstance($name = null)
    {
        if ($name === null) {
            $name = 'default';
        }
        $this->instanceName($name);
        return $this;
    }
1082690
public function set_response_name($name)
    {
        if (!empty($this->name)) {
            unset(self::$responses[$this->name]);
        }
        $this->name = $name;
        self::$responses[$this->name] = $this;

        return $this;
    }
836441
public function setName($name)
    {
        $inflectMethod = $this->getInflectionMethod();
        $this->_name = Inflector::$inflectMethod($name);

        return $this;
    }
952445
public function enabled($name)
    {
        return isset($this->hooks[$name]) && $this->hooks[$name]->enabled;
    }
1052163
public function setObjectName($name)
    {
        if (!is_null($name)) {
            $name = (string) $name;
        }

        $this->objectName = $name;
        return $this;
    }
1289910
public function setDisabled($name)
    {
        $this->checkIfSnippetExists($name);
        $this->snippets[$name]['enabled'] = false;
        return $this;
    }
490
public function setName(string $name): \RolesCapabilities\Capability
    {
        if (empty($name)) {
            throw new InvalidArgumentException("Name cannot be empty");
        }
        $this->name = $name;

        return $this;
    }
1001707
public function setName($name)
    {
        $this->name = $name;
        $this->setValue($this->form->getFieldValue($this->name));
        return $this;
    }