File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-ui/Component/Listing.php
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Ui\Component;
use Magento\Ui\Component\Listing\Columns;
/**
* @api
* @since 100.0.2
*/
class Listing extends AbstractComponent
{
const NAME = 'listing';
/**
* @var array
*/
protected $columns = [];
/**
* Get component name
*
* @return string
*/
public function getComponentName()
{
return static::NAME;
}
/**
* {@inheritdoc}
*/
public function getDataSourceData()
{
return ['data' => $this->getContext()->getDataProvider()->getData()];
}
}