Skip to content

Instantly share code, notes, and snippets.

@erikreagan
Created March 28, 2011 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikreagan/890619 to your computer and use it in GitHub Desktop.
Save erikreagan/890619 to your computer and use it in GitHub Desktop.
Comments in an ExpressionEngine core file
<?php
// There is a possiblity that there will be three extensions for a given
// hook and that two of them will call the same class but different methods
// while the third will have a priority that places it between those two.
// The chance is pretty remote and I cannot think offhand why someone
// would do this, but I have learned that our users and developers are
// a crazy bunch so I should make shite like this work initially and not
// just fix it later.
// However, it makes no sense for a person to call the same class but different
// methods for the same hook at the same priority. I feel confident in this.
// If someone does do this I will just have to point out the fact that they
// are a complete nutter.
?>
@erikreagan
Copy link
Author

I love seeing comments like this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment