public function addCompiler(CompilerInterface $compiler)
    {
        if (!in_array($compiler, $this->compilers)) {
            $blocks = &$compiler->getBlocksByName($this->name);
            $blocks[] = $this;
            $this->compilers[] = $compiler;
        }

        return $this;
    }