Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
<?php /** * myPropelGuardPlugin configuration. * * @package myPropelGuardPlugin * @subpackage config * @author Your name here * @version SVN: $Id: PluginConfiguration.class.php 12675 2008-11-06 08:07:42Z Kris.Wallsmith $ */ class myPropelGuardPluginConfiguration extends sfPluginConfiguration { /** * @see sfPluginConfiguration */ public function initialize() { if (!in_array('sfPropelPlugin', $this->configuration->getPlugins())) { throw new RuntimeException('myPropelGuardPlugin requires sfPropelPlugin be enabled.'); } } }
This paste will be private.
From the Design Piracy series on my blog: