• Edit
  • Delete

symfony plugins dev day

plugin/config/myPluginProjectConfiguration:

 

check for required plugin dependencies

  public function initialize()
  {
    if (!in_array('sfPropelPlugin', $this->configuration->getPlugins()))
    {
      throw new RuntimeException('myPropelGuardPlugin requires sfPropelPlugin be enabled.');
    }
  }