Skip to content
This repository was archived by the owner on Jul 20, 2020. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 614 Bytes

UPGRADE.md

File metadata and controls

18 lines (14 loc) · 614 Bytes

Upgrade

0.8.0 -> 1.0.0

Removal of explicit MethodNameInflector dependency on Projector and Processor classes

We removed the explicit MethodNameInflector dependency on Projector and Processor instances, instead this will be injected when the class is being resolved from the IoC container

class BookProjector extends Projector
{
-		public function __construct(MethodNameInflector $inflector, ReadRepository $readRepository)
+		public function __construct(ReadRepository $readRepository)
		{
	-     parent::__construct($inflector);
				$this->readRepository = $readRepository;
		}
}