<?php
/**
 * Created by PhpStorm.
 * User: srecko
 * Date: 3.5.2017.
 * Time: 14:21
 */

namespace AuthStack\Driver\SOAP\BPS\Lib\Response;


use Buckhill\Support\Traits\DotNotationAccessorTrait;

class UserDetailsResponse
{
    use DotNotationAccessorTrait;

    public $bpsId = 0;
    public $locked = 0;
    public $attributes=[];

    /**
     * @param string $path
     * @param mixed $default
     * @return mixed|null
     */
    public function getDotAttribute( $path, $default = null )
    {
        return $this->dotNotationFromProperty( 'attributes', $path, $default );
    }
}