/** * * Post-construction tasks to complete object construction. * * @return void * */ protected function _postConstruct() { parent::_postConstruct(); // stdout and stderr $this->_stdout = fopen('php://stdout', 'w'); $this->_stderr = fopen('php://stderr', 'w'); // set the recognized options $options = $this->_fetchGetoptOptions(); $this->_getopt = Solar::factory('Solar_Getopt'); $this->_getopt->setOptions($options); // follow-on setup $this->_setup(); }