vendor/assetic/src/Assetic/Factory/Loader/FormulaLoaderInterface.php
changeset 0 7f95f8617b0b
equal deleted inserted replaced
-1:000000000000 0:7f95f8617b0b
       
     1 <?php
       
     2 
       
     3 /*
       
     4  * This file is part of the Assetic package, an OpenSky project.
       
     5  *
       
     6  * (c) 2010-2011 OpenSky Project Inc
       
     7  *
       
     8  * For the full copyright and license information, please view the LICENSE
       
     9  * file that was distributed with this source code.
       
    10  */
       
    11 
       
    12 namespace Assetic\Factory\Loader;
       
    13 
       
    14 use Assetic\Factory\Resource\ResourceInterface;
       
    15 
       
    16 /**
       
    17  * Loads formulae.
       
    18  *
       
    19  * @author Kris Wallsmith <kris.wallsmith@gmail.com>
       
    20  */
       
    21 interface FormulaLoaderInterface
       
    22 {
       
    23     /**
       
    24      * Loads formulae from a resource.
       
    25      *
       
    26      * Formulae should be loaded the same regardless of the current debug
       
    27      * mode. Debug considerations should happen downstream.
       
    28      *
       
    29      * @param ResourceInterface $resource A resource
       
    30      *
       
    31      * @return array An array of formulae
       
    32      */
       
    33     function load(ResourceInterface $resource);
       
    34 }