PHP code example of ikuzostudio / avis-verifies-plugin
1. Go to this page and download the library: Download ikuzostudio/avis-verifies-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/ */
ikuzostudio / avis-verifies-plugin example snippets
// [...]
use Sylius\Component\Core\Model\Order as BaseOrder;
use Ikuzo\SyliusAvisVerifiesPlugin\Model\AvisVerifiesOrderInterface;
use Ikuzo\SyliusAvisVerifiesPlugin\Model\AvisVerifiesOrderTrait;
/**
* @ORM\Table(name="sylius_order")
* @ORM\Entity()
*/
class Order extends BaseOrder implements AvisVerifiesOrderInterface
{
use AvisVerifiesOrderTrait;
}
// [...]
use Sylius\Component\Core\Model\Channel as BaseChannel;
use Ikuzo\SyliusAvisVerifiesPlugin\Model\AvisVerifiesChannelInterface;
use Ikuzo\SyliusAvisVerifiesPlugin\Model\AvisVerifiesChannelTrait;
/**
* @ORM\Table(name="sylius_channel")
* @ORM\Entity()
*/
class Channel extends BaseChannel implements AvisVerifiesChannelInterface
{
use AvisVerifiesChannelTrait;
}
// [...]
use Sylius\Component\Core\Model\ProductReview as BaseProductReview;
use Ikuzo\SyliusAvisVerifiesPlugin\Model\AvisVerifiesProductReviewTrait;
use Ikuzo\SyliusAvisVerifiesPlugin\Model\AvisVerifiesProductReviewInterface;
/**
* @ORM\Table(name="sylius_product_review")
* @ORM\Entity()
*/
class ProductReview extends BaseProductReview implements AvisVerifiesProductReviewInterface
{
use AvisVerifiesProductReviewTrait;
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.