@php $footerBuilder = $pt->footer(); $copyright = str_replace(['{year}','{company}'],[date('Y'),$pt->get('header_footer.footer.company_name') ?: $pt->brand()],(string)($pt->get('header_footer.footer.copyright') ?: '© {year} {company}. All rights reserved.')); @endphp