---
title: "Discussion on \"Magento 2 - Type vs VirtualType\" | Hashnode"
description: "Discussion on \"Magento 2 - Type vs VirtualType\". What is the differences between type and virtualType? in this article, I assume you already understand about the preferences & type. In this article, I tried to create custom command line of fiko:training\n\nI defined helper file of app/code/Fiko/Train..."
url: "https://hashnode.com/posts/magento-2-type-vs-virtualtype/6508fdd1722faa48c4bd3911"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Magento 2 - Type vs VirtualType](https://fiko.me/magento-2-type-vs-virtualtype?utm_source=hashnode&utm_medium=feed)

What is the differences between type and virtualType? in this article, I assume you already understand about the preferences & type. In this article, I tried to create custom command line of fiko:training I defined helper file of app/code/Fiko/Train...

Sep 19, 2023 · 2 min read · fiko.me  
Updated Sep 27, 2023  
Read the article

-   [#magento](https://hashnode.com/tag/magento)
-   [#magento-2](https://hashnode.com/tag/magento-2)
-   [#php](https://hashnode.com/tag/php)
-   [#magento-development](https://hashnode.com/tag/magento-development)

## Written by

[Fiko Borizqy](https://hashnode.com/@fikoborizqy)

@fikoborizqy · Yogyakarta, Indonesia

  
[View profile](https://hashnode.com/@fikoborizqy)

Magento 2 Developer

I wrote these tutorials for myself in future when I forget for the next steps.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
