Shouldn't define static classes as abstract.

New Exception class added (MethodNotImplementedException)
This commit is contained in:
Mikael Nordfeldth
2013-09-21 18:44:05 +02:00
parent 63306081bc
commit 50e611a1a9
4 changed files with 61 additions and 3 deletions

View File

@@ -73,7 +73,10 @@ class SiteProfile
*/
abstract class SiteProfileSettings
{
abstract static function getSettings();
static function getSettings()
{
throw new MethodNotImplementedException(__METHOD__);
}
static function defaultPlugins() {
return array(