Added serialize method to API class as shortcut to Serialization::serialize (#62)
This commit is contained in:
parent
376ff36e20
commit
999b3e7053
@ -69,4 +69,9 @@ class API extends APIFactory
|
||||
$this->{$namespace} = new APIFactory($namespace, $this->API);
|
||||
}
|
||||
}
|
||||
|
||||
public function serialize($filename)
|
||||
{
|
||||
return Serialization::serialize($filename, $this);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user