can an child class access parent class property data?
<p>I have a child class extending a parent class.</p>

<p>In my parent class have a protected property that stores config data. In the parent class this property has all the configuration files needed.</p>

<p>But in the child class I cannot access that data. How can I bring over the config property data into the child class?</p>

<p>I am using</p>

<pre><code>class Child extends Parent
{
    public function __construct()
    {
        print_r($this-&gt;config);
    }
}
</code></pre>

<p>but i get an empty response.</p>
