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

@@ -28,7 +28,10 @@ abstract class Managed_DataObject extends Memcached_DataObject
/**
* The One True Thingy that must be defined and declared.
*/
public static abstract function schemaDef();
public static function schemaDef()
{
throw new MethodNotImplementedException(__METHOD__);
}
/**
* Get an instance by key