A public and static property named $registry is added to this class.
A public and static property named $registry is added to this class.

Note that before this we had a $registry property but was not static
because the object of the Registry class was injected using the other
ways.

And also we are now using __construct method instead of the connect
method that was used before.

baghayi/Rastgo-Framework