PHP Classes

File: src/ReadOnlyException.php

Recommend this page to a friend!
  Classes of Vitaly   Queasy PHP Config   src/ReadOnlyException.php   Download  
File: src/ReadOnlyException.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: 632 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 ReadOnlyException extends ConfigException
{
   
/**
     * Constructor.
     *
     * @param string $method Method name
     */
   
public function __construct($method)
    {
       
parent::__construct(sprintf('Method "%s" is not implemented. Config is read-only', $method));
    }
}