| 1 |
<?php |
| 2 |
namespace Depicter\Document\Models\Common\Styles; |
| 3 |
|
| 4 |
use Depicter\Document\CSS\Breakpoints; |
| 5 |
use Depicter\Document\Models\Traits\CSSPropertiesTrait; |
| 6 |
|
| 7 |
class Base |
| 8 |
{ |
| 9 |
|
| 10 |
use CSSPropertiesTrait; |
| 11 |
|
| 12 |
/** |
| 13 |
* @var array |
| 14 |
*/ |
| 15 |
public $variations = []; |
| 16 |
|
| 17 |
public $enable; |
| 18 |
|
| 19 |
/** |
| 20 |
* @var array |
| 21 |
*/ |
| 22 |
protected $breakpoint_dictionary = []; |
| 23 |
|
| 24 |
public function __construct() |
| 25 |
{ |
| 26 |
$this->breakpoint_dictionary = Breakpoints::all(); |
| 27 |
} |
| 28 |
|
| 29 |
public function set( $name, $value ) |
| 30 |
{ |
| 31 |
return $this->variations[ $name ] = $value; |
| 32 |
} |
| 33 |
} |
| 34 |
|