mirror of
https://github.com/dg/dibi.git
synced 2025-10-23 18:56:06 +02:00
40 lines
1016 B
PHP
40 lines
1016 B
PHP
<?php
|
|
|
|
/**
|
|
* dibi - tiny'n'smart database abstraction layer
|
|
* ----------------------------------------------
|
|
*
|
|
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
|
|
*
|
|
* This source file is subject to the "dibi license" that is bundled
|
|
* with this package in the file license.txt.
|
|
*
|
|
* For more information please see http://dibiphp.com/
|
|
*
|
|
* @copyright Copyright (c) 2004, 2007 David Grudl
|
|
* @license http://nettephp.com/license Nette license
|
|
* @link http://nettephp.com/
|
|
* @package Nette
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
* NClass is the ultimate ancestor of all uninstantiable classes.
|
|
*
|
|
* @author David Grudl
|
|
* @copyright Copyright (c) 2004, 2007 David Grudl
|
|
* @license http://nettephp.com/license Nette license
|
|
* @link http://nettephp.com/
|
|
* @package Nette
|
|
*/
|
|
abstract class NClass
|
|
{
|
|
|
|
final public function __construct()
|
|
{
|
|
throw new LogicException("Cannot instantiate static class " . get_class($this));
|
|
}
|
|
|
|
}
|