Statements and Evaluations
Tuesday, March 11th, 2008Introduction
How many evaluations take place on each of the following three statements?
class … {
public function …() {
// Statement one.
$this->_name = $name;
// Statement two.
$accounts = $this->_accounts->get($return);
// Statement three.
$this->_replies = new Relationship_OneToMany(‘Email’,
Finder_Factory::create(‘Email’)->findByParent($this),
$this->_replies);
}
}
If your answers for each statement were at least 3, 5, and 10, you are hereby dismissed for […]