October\Rain\Assetic\Factory\Loader\BasePhpFormulaLoader

Implements:

  • October\Rain\Assetic\Factory\Loader\FormulaLoaderInterface

Loads asset formulae from PHP files.

Protected properties

protected $factory

protected $prototypes

Public methods

public void __construct($factory)
Parameters
  • $factory

public void addPrototype($prototype, $options=array())
Parameters
  • $prototype
  • $options

public void load($resource)
Parameters
  • $resource

Protected methods

protected static void argumentToArray($argument)
Parameters
  • $argument

protected array registerPrototypes()

Returns an array of prototypical calls and options.

protected string registerSetupCode()

Returns setup code for the reflection scriptlet.

protected static void tokenToString($token)
Parameters
  • $token