php/mixins/ButtonElement.php
public function toggleFramed( $framed = null ) {
		$this->framed = $framed !== null ? (bool)$framed : !$this->framed;
		$this->toggleClasses( [ 'oo-ui-buttonElement-framed' ], $this->framed );
		$this->toggleClasses( [ 'oo-ui-buttonElement-frameless' ], !$this->framed );
		return $this;
	}
public function toggleFramed( $framed = null ) {
		$this->framed = $framed !== null ? (bool)$framed : !$this->framed;
		$this->toggleClasses( [ 'oo-ui-buttonElement-framed' ], $this->framed );
		$this->toggleClasses( [ 'oo-ui-buttonElement-frameless' ], !$this->framed );
		return $this;
	}
public function toggleFramed ( $ framed = null ) { $ this -> framed = $ framed !== null ? ( bool ) $ framed : ! $ this -> framed ; $ this -> toggleClasses ( [ 'oo-ui-buttonElement-framed' ] , $ this -> framed ) ; $ this -> toggleClasses ( [ 'oo-ui-buttonElement-frameless' ] , ! $ this -> framed ) ; return $ this ; }
Toggle frame.

@param bool|null $framed Make button framed, omit to toggle
@return $this
Toggle frame .