Permalink
Commits on Aug 20, 2014
  1. Added doc for denyAll and permitAll

    Closes #100 and #178
    stof committed Aug 20, 2014
Commits on Jan 31, 2013
  1. Added a check for invalid variable names.

    Fixes #99
    stof committed Jan 31, 2013
  2. Moved the preconditions of function arguments before the function

    This allows to call compileInternal on arguments when compiling
    preconditions of the function as the preconditions should be compiled
    before compiling the expression.
    stof committed Jan 31, 2013
  3. Removed the unused itemType property in the compiler

    There is no way to write in this private property so the isset check would
    always return false.
    Thus, this feature was flawed as it would not handle inheritance (checking
    for parent classes or interfaces for instance).
    stof committed Jan 31, 2013
  4. Removed some dead broken code

    The compiler does not have a getVariableCompiler method anymore. The
    VariableExpression is handled by a type compiler.
    stof committed Jan 31, 2013
Commits on Jan 22, 2013
  1. Removed the is_safe option on the Twig function

    This function has no reason to be marked as safe, and marking
    functions as safe should not be encouraged as being the common
    practice for everything.
    stof committed Jan 22, 2013