HEX
Server: Apache
System: Linux v38079.2is.nl 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: democfellows (10015)
PHP: 8.1.34
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/creativefellows.nl/jhtaxatie.creativefellows.nl/classes/BmwtResponseEntity.php
<?php

class BmwtResponseEntity
{
  
    public function __construct(array $data) {
		
     
		foreach($data as $el =>$val){
			$this->$el = $val;
		}
			
    }
	
	public function company(){
		return $this->company_name;
	}
	
	public function rackId(){
		return $this->rack_id;
	}
		
    public function sticker(){
		return $this->sticker;
	}
	
    public function code(){
		return $this->code;
	}
	
    public function message(){
		return $this->message;
	}
	
    public function time(){
		return $this->time;
	}
	
    public function date(){
		return $this->date;
	}
	
    public function status(){
		return $this->status;
	}
	
    public function inspectionId(){
		return $this->inspection_id;
	}
	
    public function brand(){
		return $this->brand;
	}
	
    public function userId(){
		return $this->user_id;
	}
	
    public function inspectionDate(){
        return strftime("%d-%m-%Y", strtotime($this->date));
	}
	
	public function codeMessage()
	{
		return $this->message() ." (". $this->code().")";	
	}

}