コード例 #1
0
ファイル: Session.php プロジェクト: frogriotcom/jackalope
 /**
  * {@inheritDoc}
  *
  * @api
  */
 public function getAttributeNames()
 {
     if (null == $this->credentials) {
         return array();
     }
     return $this->credentials->getAttributeNames();
 }
コード例 #2
0
 /**
  * @depends testConstructor
  */
 public function testGetAttributeNames(SimpleCredentials $credentials)
 {
     $credentials->setAttribute('other', 'test');
     $this->assertEquals(array('other'), $credentials->getAttributeNames());
 }