/** * @param Manifest $manifest * @param string $rootElementName * * @return SimpleXMLElement */ public static function fromManifest(Manifest $manifest, $rootElementName = 'BwwManifest') { return static::fromProperties($manifest->getProperties(), $rootElementName); }
/** * @param string $accountNumber * @param string $companyName * * @return Manifest\Manifest */ public static function createManifestForAccount($accountNumber, $companyName, DateTime $timeStamp = null) { return Manifest\Manifest::create($accountNumber, $companyName, $timeStamp); }