Issues

ZF-6471: Pass Bootstrap to Resources constructor

Description

If a Resource set* function is called through it's constructor and the Resource depends on another Resource (e.g. View) there is no way to get it. setBootstrap is called after construction of the resource so there is no way to get other resources before.

public function setDoctype { $this->getBootstrap()->getResource('view')->doctype('XHTML1_STRICT'); //don't work because getBootstrap returns null. }

Comments

Fixed in trunk and 1.8 release branch.