Neos\Flow\Tests\Unit\ObjectManagement\Fixture\BasicClass::injectSecondDependency PHP Method

injectSecondDependency() public method

A method for setter injection of a dependency which is used for checking if injection of explicitly defined dependencies (without autowiring) works.
public injectSecondDependency ( object $value ) : void
$value object An object
return void
    public function injectSecondDependency($value)
    {
        $this->secondDependency = $value;
    }