AbstractTestCase::getPropertyValue PHP Méthode

getPropertyValue() public static méthode

Privateプロパティを取得する
public static getPropertyValue ( object $object, string $name ) : mixed
$object object 対象オブジェクト
$name string プロパティ名
Résultat mixed プロパティの値
    public static function getPropertyValue($object, $name)
    {
        $prop = self::getPrivateProperty($object, $name);
        return $prop->getValue($object);
    }