/**
 * Set Paragraph element margin y style.
 *
 * @param int $value Margin y value.
 *
 * @return self Returns instance of the Paragraph element class.
 *
 * @access public
 */
public function my(int $value): self

Examples

Set margin y style using fluent interface

use function Thermage\paragraph;
use function Thermage\render;

// ...

render( 
  paragraph('Stay RAD!')->my(10)->bg('red')
);

Set margin y style using magic method fluent interface

use function Thermage\paragraph;
use function Thermage\render;

// ...

render( 
  paragraph('Stay RAD!')->my10()->bgRed()
);

Set margin y style using magic classes pipeline

use function Thermage\paragraph;
use function Thermage\render;

// ...

render( 
  paragraph('Stay RAD!', 'my-10 bg-red')
);
Terminal
$ php thermage.php
Stay RAD!

Getting Started

Methods