Review main Merged

21819[TASK] Replace inject methods with @inject; allow @Flow\Inject

Alexander Schnitzler CR +2 V +2 Expert +377 −1304 updated 07/06/13, 11:22

Commit message

Currently we are using inject methods like:

/*
 * @param $foo Foo
 */
public function injectFoo(Foo $foo) {
	$this->foo = $foo;
}

This patch removes these methods and introduces
property annotations:

/**
 * @var Foo
 * @inject
 */
protected $foo;

Besides that, it allows the use of @Flow\Inject
as well for compatibility to Flow.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 84

Show 64 more files