From b73e4dfec40f705bbd4f7c96052ca9dc42ec6ad0 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Mon, 9 Aug 2010 08:52:33 +0000 Subject: [PATCH] SimpleSAML/IdP: Add getId()-method. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2501 44740490-163a-0410-bde0-09ae8108e29a --- lib/SimpleSAML/IdP.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/SimpleSAML/IdP.php b/lib/SimpleSAML/IdP.php index 3e78719e1..c69e29d58 100644 --- a/lib/SimpleSAML/IdP.php +++ b/lib/SimpleSAML/IdP.php @@ -93,6 +93,16 @@ class SimpleSAML_IdP { } + /** + * Retrieve the ID of this IdP. + * + * @return string The ID of this IdP. + */ + public function getId() { + return $this->id; + } + + /** * Retrieve an IdP by ID. * -- GitLab