Как определить пути Windows в разделе томов в файле docker-compose.yml

class A
{
    private $b = 'c';
}

$obj = new A();

$r = new ReflectionObject($obj);
$p = $r->getProperty('b');
$p->setAccessible(true); // <--- you set the property to public before you read the value

var_dump($p->getValue($obj));
0
задан Origamer7 17 January 2019 в 13:39
поделиться