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\Type\Filter; | |
use Sylius\Component\Core\Model\Taxon; | |
use Symfony\Bridge\Doctrine\Form\Type\EntityType; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
class TaxonsCheckboxType 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\DataTransformer; | |
use Symfony\Component\Form\DataTransformerInterface; | |
use Symfony\Component\Form\Exception\TransformationFailedException; | |
class CustomBooleanToStringTransformer implements DataTransformerInterface { | |
/** |
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
final class AdminOrderCreateType extends AbstractResourceType { | |
... | |
$builder | |
->add('items', CollectionType::class, [ | |
'entry_type' => AdminOrderItemCollectionType::class, | |
'allow_add' => true, | |
'allow_delete' => true, | |
'by_reference' => false, | |
'block_name' => 'entry' | |
]) |
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; | |
/** |
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 | |
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\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 | |
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 | |
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
user www-data; | |
worker_processes auto; | |
pid /run/nginx.pid; | |
include /etc/nginx/modules-enabled/*.conf; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
} |
OlderNewer