public function getButton()
    {
        if ($class = $this->config()->button_class) {
            
            // Create Button:
            
            $button = $class::create();
            
            // Extend Button:
            
            $this->extend('updateButton', $button);
            
            // Answer Button:
            
            return $button;
            
        }
    }
public function getButton()
    {
        if ($class = $this->config()->button_class) {
            
            // Create Button:
            
            $button = $class::create();
            
            // Extend Button:
            
            $this->extend('updateButton', $button);
            
            // Answer Button:
            
            return $button;
            
        }
    }
public function getButton ( ) { if ( $ class = $ this -> config ( ) -> button_class ) { // Create Button: $ button = $ class :: create ( ) ; // Extend Button: $ this -> extend ( 'updateButton' , $ button ) ; // Answer Button: return $ button ; } }
Answers the sharing button instance for the receiver.

@return SharingButton
Answers the sharing button instance for the receiver .