コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function getCredentialStorage()
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getCredentialStorage');
     if (!$pluginInfo) {
         return parent::getCredentialStorage();
     } else {
         return $this->___callPlugins('getCredentialStorage', func_get_args(), $pluginInfo);
     }
 }
コード例 #2
0
ファイル: AuthTest.php プロジェクト: aiesh/magento2
 public function testGetCredentialStorageList()
 {
     $storage = $this->_model->getCredentialStorage();
     $this->assertInstanceOf('Magento\\Backend\\Model\\Auth\\Credential\\StorageInterface', $storage);
 }