public function __construct($directory) { $this->_magentoRootDir = $this->findMagentoRootDir($directory); }