public function __construct($class_name, $property_name)
{
if (is_array($property_name)) {
$this->message = implode("\r\n", $property_name);
return;
}
$this->message = "Undefined property: {$class_name}->{$property_name} in {$this->file} on line {$this->line}";
parent::__construct();
}