This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var secretmessage = ""; | |
var password = ""; | |
var key_object = null; | |
var promise_key = null; | |
var encrypted_data = null; | |
var encrypt_promise = null; | |
var vector = window.crypto.getRandomValues(new Uint8Array(16)); | |
var decrypt_promise = null; | |
var decrypted_data = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Voter; | |
use Sylius\Component\Core\Repository\OrderRepositoryInterface; | |
use Sylius\InvoicingPlugin\Entity\InvoiceInterface; | |
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; | |
use Symfony\Component\Security\Core\Authorization\Voter\Voter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Model; | |
use Sylius\Bundle\OrderBundle\Controller\AddToCartCommandInterface; | |
use Sylius\Component\Order\Model\OrderInterface; | |
use Sylius\Component\Order\Model\OrderItemInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user www-data; | |
worker_processes auto; | |
pid /run/nginx.pid; | |
include /etc/nginx/modules-enabled/*.conf; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace AppBundle\DataFixtures\Document; | |
use Sulu\Component\DocumentManager\DocumentManager; | |
use Sulu\Bundle\DocumentManagerBundle\DataFixtures\DocumentFixtureInterface; | |
use Sulu\Component\Content\Document\WorkflowStage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\Form\Admin\Promotion; | |
use Sylius\Bundle\AddressingBundle\Form\Type\ZoneCodeChoiceType; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
final class ShippingZoneConfigurationType extends AbstractType | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\Twig\Extension; | |
use Sylius\Component\Taxation\Calculator\DefaultCalculator; | |
use Sylius\Component\Taxation\Model\TaxRateInterface; | |
class DefaultCalculatorExtension extends \Twig_Extension | |
{ | |
private $defaultCalculator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace AppBundle\Form\Admin; | |
use Sylius\Bundle\CoreBundle\Form\Type\ChannelCollectionType; | |
use Sylius\Component\Core\Model\ChannelInterface; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\OptionsResolver\OptionsResolver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\Resolver; | |
use Doctrine\Common\Persistence\ObjectManager; | |
use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface; | |
use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; | |
use Sylius\Component\Review\Model\ReviewableInterface; | |
use Sylius\Component\Review\Model\ReviewInterface; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace AppBundle\Inventory; | |
use Sylius\Component\Inventory\Checker\AvailabilityCheckerInterface; | |
use Sylius\Component\Inventory\Model\StockableInterface; | |
/** |
NewerOlder