PHP Classes

File: src/loader/LoaderInterface.php

Recommend this page to a friend!
  Classes of Vitaly   Queasy PHP Config   src/loader/LoaderInterface.php   Download  
File: src/loader/LoaderInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Queasy PHP Config
Read a configuration from files in several formats
Author: By
Last change:
Date: 3 years ago
Size: 801 bytes
 

Contents

Class file image Download
<?php

/*
 * Queasy PHP Framework - Configuration
 *
 * (c) Vitaly Demyanenko <vitaly_demyanenko@yahoo.com>
 *
 * For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
 */

namespace queasy\config\loader;

/**
 * Configuration loader interface
 */
interface LoaderInterface
{
   
/**
     * Class invokation method representing load().
     *
     * @return array Loaded configuration
     */
   
function __invoke();

   
/**
     * Load and return an array containing configuration.
     *
     * @return array Loaded configuration
     */
   
function load();

   
/**
     * Check whether configuration is available and can be loaded
     *
     * @return boolean True or false or throw exception
     */
   
function check();
}