bpat1434 wrote:...but it could be "protected" since it's inherited....
Note, however, that if a child class defines its own constructor, then it does not execute its parent's constructor (the child's overwrites the parent's). Therefore, if you want to include the parent class's constructor, you must explicitly call it:
class Example extends MyClass
{
public function __construct()
{
parent::__construct(); // invokes MyClass::__construct()
}
}