Archives for the tag “ PHP ”

Stéphane Thibault >_

sthibault bookmarked a link:

In principle, if an abstract class contains only abstract methods we’re using it as an interface.

[…]

Abstract classes are used to share functions.
The interfaces are used to share how you have to do something.

Stéphane Thibault >_

sthibault bookmarked a link:

Want to show off the cool open source project you’re working on via GitHub? This PHP code snippet will snag your most recently updated repo information and its latest commit message through the GitHub API. All you have to do is plug in your username.