Neos\Flow\Tests\Functional\ObjectManagement\Fixtures\ClassWithInjectedConfiguration::getInjectedSpecifiedPackageSettings PHP Метод

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

public getInjectedSpecifiedPackageSettings ( ) : array
Результат array
    public function getInjectedSpecifiedPackageSettings()
    {
        return $this->injectedSpecifiedPackageSettings;
    }

Usage Example

 /**
  * @test
  */
 public function injectionOfSpecifiedPackageSettings()
 {
     $classWithInjectedConfiguration = new Fixtures\ClassWithInjectedConfiguration();
     $actualSettings = $this->configurationManager->getConfiguration(ConfigurationManager::CONFIGURATION_TYPE_SETTINGS, 'Neos.Flow');
     $this->assertSame($actualSettings, $classWithInjectedConfiguration->getInjectedSpecifiedPackageSettings());
 }