Sindbad~EG File Manager

Current Path : /var/www/html/logros.sumar.com.py/vendor/livewire/livewire/src/
Upload File :
Current File : /var/www/html/logros.sumar.com.py/vendor/livewire/livewire/src/ObjectPrybar.php

<?php

namespace Livewire;

use ReflectionClass;

#[\AllowDynamicProperties]
class ObjectPrybar
{
    protected $obj;

    public function __construct($obj)
    {
        $this->obj = $obj;
        $this->reflected = new ReflectionClass($obj);
    }

    public function getProperty($name)
    {
        $property = $this->reflected->getProperty($name);

        $property->setAccessible(true);

        return $property->getValue($this->obj);
    }

    public function setProperty($name, $value)
    {
        $property = $this->reflected->getProperty($name);

        $property->setAccessible(true);

        $property->setValue($this->obj, $value);
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists