interface FormulaLoaderInterface

Loads formulae.

@author Kris Wallsmith <kris.wallsmith@gmail.com>

Hierarchy

Expanded class hierarchy of FormulaLoaderInterface

All classes that implement FormulaLoaderInterface

2 files declare their use of FormulaLoaderInterface
LazyAssetManager.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/LazyAssetManager.php
TwigFormulaLoader.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/TwigFormulaLoader.php

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/Loader/FormulaLoaderInterface.php, line 21

Namespace

Assetic\Factory\Loader
View source
interface FormulaLoaderInterface {

  /**
   * Loads formulae from a resource.
   *
   * Formulae should be loaded the same regardless of the current debug
   * mode. Debug considerations should happen downstream.
   *
   * @param ResourceInterface $resource A resource
   *
   * @return array An array of formulae
   */
  public function load(ResourceInterface $resource);

}

Members

Namesort descending Modifiers Type Description Overrides
FormulaLoaderInterface::load public function Loads formulae from a resource. 3