Skip to content

Commit

Permalink
Change structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Thao Pham committed Nov 19, 2019
1 parent a72ba3e commit 2bdeaed
Show file tree
Hide file tree
Showing 69 changed files with 4 additions and 7,008 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@
* * See COPYING.txt for license details.
* *
* * @author [email protected]
* * @project Banner Slider
* * @project Core
*/
namespace Boolfly\BannerSlider\Model\Source;
namespace Boolfly\Base\Model\Source;

use Magento\Eav\Model\Entity\Attribute\Source\AbstractSource;
use Magento\Eav\Model\Entity\Attribute\Source\SourceInterface;
use Magento\Framework\Data\OptionSourceInterface;

/**
* Banner status functionality model
* Status functionality model
*
* @api
* @since 100.0.2
*/
class Status extends AbstractSource implements SourceInterface, OptionSourceInterface
{
/**#@+
* Banner Status values
* Status values
*/
const STATUS_ENABLED = 1;

Expand All @@ -46,7 +46,6 @@ public static function getOptionArray()
public function getAllOptions()
{
$result = [];

foreach (self::getOptionArray() as $index => $value) {
$result[] = ['value' => $index, 'label' => $value];
}
Expand Down
45 changes: 0 additions & 45 deletions app/code/Boolfly/BannerSlider/Api/BannerRepositoryInterface.php

This file was deleted.

259 changes: 0 additions & 259 deletions app/code/Boolfly/BannerSlider/Api/Data/BannerInterface.php

This file was deleted.

Loading

0 comments on commit 2bdeaed

Please sign in to comment.