<?php
namespace App\Bsp\Settlement; class CompareWithImportedServiceResult { public $details = []; public $importedService = null; public $bspRow = null; public function getAny() { return ($this->importedService?:$this->bspRow); } public function hasDifferences() { return (bool)$this->details; } public function hasStatusRaw($status) { return (bool)in_array($status, $this->details); } } 