public function creator($key, $value): BladeInterface
    {
        $this->getViewFactory()->creator($key, $value);

        return $this;
    }
public function creator($key, $value): BladeInterface
    {
        $this->getViewFactory()->creator($key, $value);

        return $this;
    }
public function creator ( $ key , $ value ) : BladeInterface { $ this -> getViewFactory ( ) -> creator ( $ key , $ value ) ; return $ this ; }
Register a creator.

@param string $key The name of the creator to register
@param mixed $value The closure or class to use

@return $this
Register a creator .