protected function _getPrivateProperty($object, $name) { $property = new \ReflectionProperty('\\Clinner\\Command\\Command', $name); $property->setAccessible(true); return $property->getValue($object); }