¨4.0.1¨
This commit is contained in:
@@ -10,6 +10,7 @@ class Feature
|
||||
public $title;
|
||||
public $subtitle;
|
||||
|
||||
|
||||
public function __construct($icon, $title, $subtitle)
|
||||
{
|
||||
$this->icon = $icon;
|
||||
@@ -17,9 +18,10 @@ class Feature
|
||||
$this->subtitle = $subtitle;
|
||||
}
|
||||
|
||||
|
||||
public static function all()
|
||||
{
|
||||
if (! setting('storefront_features_section_enabled')) {
|
||||
if (!setting('storefront_features_section_enabled')) {
|
||||
return collect();
|
||||
}
|
||||
|
||||
@@ -28,6 +30,7 @@ class Feature
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
private static function getFeatureFor($number)
|
||||
{
|
||||
return new self(
|
||||
|
||||
Reference in New Issue
Block a user