Bluz\Db\Row::__construct PHP Method

__construct() public method

Create Row instance
public __construct ( array $data = [] )
$data array
    public function __construct($data = [])
    {
        // original cleaner data
        $this->clean = $this->toArray();
        // not clean data, but not modified
        if (sizeof($data)) {
            $this->setFromArray($data);
        }
        $this->afterRead();
    }