StackFormation\Profile\Manager::listAllProfiles PHP Метод

listAllProfiles() публичный Метод

public listAllProfiles ( )
    public function listAllProfiles()
    {
        return $this->credentialProvider->listAllProfiles();
    }

Usage Example

 public function testEncryptedAndUnencryptedFile()
 {
     if (!class_exists('\\Vault\\Vault')) {
         $this->markTestSkipped('aoepeople/vault must be installed to run this test');
     }
     putenv("VAULT_MAC_KEY=" . self::VAULT_MAC_KEY);
     putenv("VAULT_ENCRYPTION_KEY=" . self::VAULT_ENCRYPTION_KEY);
     chdir(FIXTURE_ROOT . 'ProfileManager/fixture_encrpyted_mix');
     $this->assertEquals(['test1', 'test2', 'test3', 'test1-personal', 'test2-personal'], $this->profileManager->listAllProfiles());
 }
All Usage Examples Of StackFormation\Profile\Manager::listAllProfiles