public function bind(string $view, $mapper)
    {
        if ($mapper instanceof \Closure) {
            return $this->set($view, $mapper($this, $view));
        }

        return $this->set($view, $mapper);
    }