src/Traits/ParsedownExtensibility.php
protected function bindElementClosure($methodName, Closure $closure)
    {
        $this->elementClosures[$methodName] = $closure->bindTo($this);

        return $this;
    }
protected function bindElementClosure($methodName, Closure $closure)
    {
        $this->elementClosures[$methodName] = $closure->bindTo($this);

        return $this;
    }
protected function bindElementClosure ( $ methodName , Closure $ closure ) { $ this -> elementClosures [ $ methodName ] = $ closure -> bindTo ( $ this ) ; return $ this ; }
Adds a closure that handles the start of an element.

@param  string  $blockName
@param  Closure $closure
@return boolean
Adds a closure that handles the start of an element .