Commit 691ca1f5 authored by Penny Leach's avatar Penny Leach
Browse files

added helper to_stdclass function in artefact base class

parent bdc00a0c
......@@ -652,6 +652,10 @@ abstract class ArtefactType {
return $type;
}
public function to_stdclass() {
return (object)get_object_vars($this);
}
public static function has_config() {
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment