Monthly Archives: June 2009

Extending plugins in PHP and Symfony

Plugins are great but they are never what you exactly wanted. When they are designed properly, the best way to customize them is to extend them instead of directly editing them. Now, imagine I have:1 # Penguin.class.php class Penguin { public function __construct() { echo "Windows is bad\n"; } }# Penguin.class.php class Penguin { public […]

Posted in PHP, Symfony | Tagged , , , , , | Leave a comment