src/Chiron/Http/Middleware/SecurityHeadersMiddleware.php
private function ect(): array
    {
        $ect = "max-age={$this->security['ect']['max-age']}";
        if ($this->security['ect']['enforce']) {
            $ect .= ', enforce';
        }

        if (! empty($this->security['ect']['report-uri'])) {
            $ect .= sprintf(', report-uri="%s"', $this->security['ect']['report-uri']);
        }

        return ['Expect-CT' => $ect];
    }
private function ect(): array
    {
        $ect = "max-age={$this->security['ect']['max-age']}";
        if ($this->security['ect']['enforce']) {
            $ect .= ', enforce';
        }

        if (! empty($this->security['ect']['report-uri'])) {
            $ect .= sprintf(', report-uri="%s"', $this->security['ect']['report-uri']);
        }

        return ['Expect-CT' => $ect];
    }
private function ect ( ) : array { $ ect = "max-age={$this->security['ect']['max-age']}" ; if ( $ this -> security [ 'ect' ] [ 'enforce' ] ) { $ ect .= ', enforce' ; } if ( ! empty ( $ this -> security [ 'ect' ] [ 'report-uri' ] ) ) { $ ect .= sprintf ( ', report-uri="%s"' , $ this -> security [ 'ect' ] [ 'report-uri' ] ) ; } return [ 'Expect-CT' => $ ect ] ; }
Get Expect-CT header.

@see https://tools.ietf.org/html/draft-ietf-httpbis-expect-ct-03

@return array
Get Expect - CT header .