Added serialize method to API class as shortcut to Serialization::serialize (#62)

This commit is contained in:
Manuel1510 2017-02-11 15:35:10 +01:00 committed by Daniil Gentili
parent 376ff36e20
commit 999b3e7053

View File

@ -69,4 +69,9 @@ class API extends APIFactory
$this->{$namespace} = new APIFactory($namespace, $this->API);
}
}
public function serialize($filename)
{
return Serialization::serialize($filename, $this);
}
}