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 | |
// src/Promotion/Action/FreeItemPromotionActionCommand.php | |
declare(strict_types=1); | |
namespace App\Promotion\Action; | |
use Sylius\Bundle\PromotionBundle\Attribute\AsPromotionAction; | |
use Sylius\Component\Promotion\Action\PromotionActionCommandInterface; |
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
<service id="App\Promotion\Action\FreeItemPromotionActionCommand"> | |
<tag name="sylius.promotion_action" type="free_item" label="app.form.promotion_action.free_item" form-type="App\Form\Type\Promotion\Action\FreeItemConfigurationType" /> | |
</service> |
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 | |
// src/Promotion/Action/FreeItemPromotionActionCommand.php | |
declare(strict_types=1); | |
namespace App\Promotion\Action; | |
use Sylius\Component\Promotion\Action\PromotionActionCommandInterface; | |
use Sylius\Component\Promotion\Model\PromotionInterface; |
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 | |
// src/Controller/BlogController.php | |
namespace App\Controller; | |
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; | |
use Symfony\Component\HttpFoundation\Response; | |
use Symfony\Component\Routing\Attribute\Route; | |
class BlogController extends AbstractController |
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 | |
// src/Twig/Form/TwigRendererEngine.php | |
namespace App\Twig\Form; | |
use Symfony\Component\Form\AbstractRendererEngine; | |
use Symfony\Component\Form\FormView; | |
use Symfony\Component\VarDumper\VarDumper; | |
use Twig\Environment; |
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 | |
// src/Form/Extension/CartItemTypeExtension.php | |
declare(strict_types=1); | |
namespace App\Form\Extension; | |
use Sylius\Bundle\OrderBundle\Form\Type\CartItemType; | |
use Sylius\Bundle\ProductBundle\Form\Type\ProductVariantChoiceType; |
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 | |
// src/App/Sorting/Sorter.php | |
declare(strict_types=1); | |
namespace App\Sorting; | |
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; | |
use Sylius\Component\Grid\Data\DataSourceInterface; |
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 | |
// src/CommandHandler/Account/ResetPasswordHandler.php | |
declare(strict_types=1); | |
namespace App\CommandHandler\Account; | |
use Sylius\Bundle\ApiBundle\Command\Account\ResetPassword; | |
use Sylius\Component\Core\Model\ShopUserInterface; |
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 | |
// src/EventListener/CacheControlSubscriber.php | |
declare(strict_types=1); | |
namespace App\EventListener; | |
use App\SectionResolver\ShopCustomerAccountSubSection; | |
use Sylius\Bundle\AdminBundle\SectionResolver\AdminSection; |
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 | |
// src/EventListener/XFrameOptionsSubscriber.php | |
namespace App\EventListener | |
final class XFrameOptionsSubscriber implements EventSubscriberInterface | |
{ | |
public static function getSubscribedEvents(): array | |
{ |
NewerOlder