PHP code example of asdoria / sylius-quick-shopping-plugin
1. Go to this page and download the library: Download asdoria/sylius-quick-shopping-plugin library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
asdoria / sylius-quick-shopping-plugin example snippets
Asdoria\SyliusQuickShoppingPlugin\AsdoriaSyliusQuickShoppingPlugin::class => ['all' => true],
declare(strict_types=1);
namespace App\Repository;
use Asdoria\SyliusQuickShoppingPlugin\Repository\Model\ProductVariantRepositoryAwareInterface;
use Asdoria\SyliusQuickShoppingPlugin\Repository\ProductVariantRepositoryTrait;
use Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductVariantRepository as BaseProductVariantRepository;
final class ProductVariantRepository extends BaseProductVariantRepository implements ProductVariantRepositoryAwareInterface
{
use ProductVariantRepositoryTrait;
}