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

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

public getInjectedSettingWithSetter ( ) : string
Результат string
    public function getInjectedSettingWithSetter()
    {
        return $this->injectedSettingWithSetter;
    }

Usage Example

 /**
  * @test
  */
 public function injectionOfConfigurationCallsRespectiveSetterIfItExists()
 {
     $classWithInjectedConfiguration = new Fixtures\ClassWithInjectedConfiguration();
     $this->assertSame('INJECTED SETTING', $classWithInjectedConfiguration->getInjectedSettingWithSetter());
 }