PHP Classes

File: src/MissingOptionException.php

Recommend this page to a friend!
  Classes of Vitaly   Queasy PHP Config   src/MissingOptionException.php   Download  
File: src/MissingOptionException.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: 614 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;

/**
 * Configuration exception class - Missing required config option
 */
class MissingOptionException extends ConfigException
{
   
/**
     * Constructor.
     *
     * @param string $name Config option name
     */
   
public function __construct($name)
    {
       
parent::__construct(sprintf('Missing config option "%s".', $name));
    }
}