: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\SmartSlider3\SlideBuilder;
class BuilderComponentSlide extends AbstractBuilderComponent {
"backgroundColor" => "ffffff00",
"backgroundImageOpacity" => 100,
"backgroundMode" => "default",
"backgroundVideoMp4" => "",
"backgroundVideoOpacity" => 100,
"backgroundVideoLoop" => 1,
"backgroundVideoReset" => 1,
"backgroundVideoMode" => "fill",
"desktopportraitpadding" => '10|*|10|*|10|*|10'
/** @var AbstractBuilderComponent[] */
private $layers = array();
/** @var BuilderComponentContent */
public function __construct($properties = array()) {
foreach ($properties as $k => $v) {
$this->content = new BuilderComponentContent($this);
* @param $layer AbstractBuilderComponent
public function add($layer) {
array_unshift($this->layers, $layer);
public function getData() {
$this->data['layers'] = array();
foreach ($this->layers as $layer) {
$this->data['layers'][] = $layer->getData();
return parent::getData();
public function getLayersData() {
$data = $this->getData();