public function __construct($className, $fieldName, array $advices)
{
parent::__construct($advices);
$this->reflectionProperty = $reflectionProperty = new ReflectionProperty($className, $fieldName);
// Give an access to protected field
if ($reflectionProperty->isProtected()) {
$reflectionProperty->setAccessible(true);
}
}