]> git.mxchange.org Git - core.git/commitdiff
Added isValidUnlByPackageData()
authorRoland Haeder <roland@mxchange.org>
Thu, 15 Jan 2015 22:18:52 +0000 (23:18 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 15 Jan 2015 22:18:52 +0000 (23:18 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/interfaces/handler/protocol/class_HandleableProtocol.php

index 8cfe6d60c8fd634efe0005ad7f8fe145c56cc208..aa22a72b63fcf82f1e53a934d02b7ef4ece3b005 100644 (file)
@@ -35,6 +35,15 @@ interface HandleableProtocol extends Handleable {
         * @return      $protocol       Name of used protocol
         */
        function getProtocolName ();
+
+       /**
+        * Validates given 'recipient' if it is a valid UNL. This means that the UNL
+        * can be parsed by the protocol handler.
+        *
+        * @param       $packageData    Valid raw package data
+        * @return      $isValid                Whether the UNL can be validated
+        */
+       function isValidUnlByPackageData (array $packageData);
 }
 
 // [EOF]