What's different between \Phalcon\Mvc\User\Component and Phalcon\Mvc\User\Plugin

StackOverflow https://stackoverflow.com/questions/12879284

  •  07-07-2021
  •  | 
  •  

Pregunta

There are \Phalcon\Mvc\User\Component and Phalcon\Mvc\User\Plugin in Phalcon. In the sample invo, Phalcon\Mvc\User\Plugin is used for EventsManager in here. In mvc sample, Phalcon\Mvc\User\Component is used in here. I wonder what is the difference between these two classes.

¿Fue útil?

Solución

Actually, both classes are currently the same. The more we extend the framework, specific functionality may be added to aid building mvc plugins and user components

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top