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