Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SomeService
- {
- /**
- * @var Obje1
- */
- private $o1;
- /**
- * @var Obj2
- */
- private $o2;
- public function __construct(Obje1 $o1, Obj2 $o2)
- {
- $this->o1 = $o1;
- $this->o2 = $o2;
- }
- public function render() {
- $this->pdf->setParameter1(...);
- $this->pdf->setParameter2(...);
- $this->pdf->setParameter3(...);
- $this->pdf->setParameter4(...);
- $this->pdf->setParameter5(...);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement