Questions tagged [framework]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
19 views

Does Magento 2 offer .tar.gz file handling?

Magento 2 offers \Magento\Framework\Archive\Tar to handle TAR files and \Magento\Framework\Archive\Gz to handle Gz archives. Does Magento 2 offer a solution to directly unpack .tar.gz files or do I ...
0
votes
2answers
33 views

How to override “/vendor/magento/framework/Mail/Template/TransportBuilder.php”?

I want to override this file : /vendor/magento/framework/Mail/Template/TransportBuilder.php Did anyone know how to override this file. Thank you in advance.
1
vote
1answer
55 views

how to Override Magento\Framework\View\Element\Html\Link\Current File in Magento 2

Problem I want to add an attribute to current link in Magento 2 Customer Dashboard i Checked Magento\Framework\View\Element\Html\Link\Current, there in Line 119 All the Link Having an Li have a ...
0
votes
0answers
41 views

Call to undefined method Magento\Framework\App\Area::detectDesign() Magento2

Recently I came across this issue in one of the live magento 2 website. Fatal error: Uncaught Error: Call to undefined method Magento\Framework\App\Area::detectDesign() in vendor/magento/framework/...
0
votes
0answers
11 views

Magento as an API Framework

What do you think about using Magento as an API/webservice framework? I don't mean using the Magento API to consume Magento services (products, orders, customers, etc.), I mean using Magento to ...
4
votes
1answer
164 views

Class 'Magento\TestFramework\TestCase\AbstractController' not found when running unit test for custom module

I tried to make a unit test for my custom module like this: app/code/MyCompany/UnitTest/Test/Unit/Controller/SpinTest.php namespace MyCompany\UnitTest\Controller; class SpinTest extends \Magento\...
1
vote
0answers
29 views

Magento Json Serializer vs native PHP

Is there any special reason why I should use the Magento framework classes such as JSON Serializer vs just native PHP? https://github.com/magento/magento2/blob/2.3/lib/internal/Magento/Framework/...
0
votes
2answers
215 views

Magento 2 | VueJs Framework

Is there a way to use VueJs Framework under Magento 2 ?
12
votes
4answers
11k views

How to add Bootstrap 4 in a Magento 2 theme?

I've to add Bootstrap 4 in my custom theme. I add Bootstrap 3 by using the reference: How to use bootstrap in my custom theme But, bootstrap 4 is not working.