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

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

  •  07-07-2021
  •  | 
  •  

Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top