Property 'x' of 'y' is not accessible
Sample code:
class y {
private $x;
// ...
}
//...
$obj = new y();
$obj->x = 14; // Property 'x' of 'y' is not accessible
// ...
You tried to access some non-public property of class 'y'.
Skip to: Content | Navigation | Footer

Sample code:
class y {
private $x;
// ...
}
//...
$obj = new y();
$obj->x = 14; // Property 'x' of 'y' is not accessible
// ...
You tried to access some non-public property of class 'y'.