object(Customer)#596 (21) { ["attributes":protected]=> array(39) { ["3m"]=> string(1) "0" ["6m"]=> string(1) "0" ["1y"]=> string(1) "0" ["2y"]=> string(1) "0" ["3y"]=> string(1) "0" ["4y"]=> string(1) "0" }
こういうオブジェクトがあるとき3mや6mの値を配列で取得したいんですが
$this->customerRepo->findInspectionByCustomerId($customer->customer_id)をvar_dumpしたものが上の一部です。
$this->customerRepo->findInspectionByCustomerId($customer->customer_id)→3mとするとエラーが出るのですが
どこがダメですか
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。