public function getCertificatesAsArray()
    {
        // Iterate over certificates nodes and convert to an array
        $certificates = array();
        /** @var \AppserverIo\Appserver\Core\Api\Node\CertificateNode $certificateNode */
        foreach ($this->getCertificates() as $certificateNode) {
            // restructure to an array
            $certificates[] = array(
                'domain' => $certificateNode->getDomain(),
                'certPath' => $certificateNode->getCertPath()
            );
        }

        // return certificates array
        return $certificates;
    }
public function getCertificatesAsArray()
    {
        // Iterate over certificates nodes and convert to an array
        $certificates = array();
        /** @var \AppserverIo\Appserver\Core\Api\Node\CertificateNode $certificateNode */
        foreach ($this->getCertificates() as $certificateNode) {
            // restructure to an array
            $certificates[] = array(
                'domain' => $certificateNode->getDomain(),
                'certPath' => $certificateNode->getCertPath()
            );
        }

        // return certificates array
        return $certificates;
    }
public function getCertificatesAsArray ( ) { // Iterate over certificates nodes and convert to an array $ certificates = array ( ) ; /** @var \AppserverIo\Appserver\Core\Api\Node\CertificateNode $certificateNode */ foreach ( $ this -> getCertificates ( ) as $ certificateNode ) { // restructure to an array $ certificates [ ] = array ( 'domain' => $ certificateNode -> getDomain ( ) , 'certPath' => $ certificateNode -> getCertPath ( ) ) ; } // return certificates array return $ certificates ; }
Returns the certificates as an associative array.

@return array The array with certificates
Returns the certificates as an associative array .