public function getFileHandlersAsArray()
    {

        // initialize the array for the file handlers
        $fileHandlers = array();

        // iterate over the file handlers nodes and sort them into an array
        /** @var \AppserverIo\Appserver\Core\Api\Node\FileHandlerNode $fileHandler */
        foreach ($this->getFileHandlers() as $fileHandler) {
            $fileHandlers[$fileHandler->getExtension()] = array(
                'name' => $fileHandler->getName(),
                'params' => $fileHandler->getParamsAsArray()
            );
        }

        // return what we got
        return $fileHandlers;
    }
public function getFileHandlersAsArray()
    {

        // initialize the array for the file handlers
        $fileHandlers = array();

        // iterate over the file handlers nodes and sort them into an array
        /** @var \AppserverIo\Appserver\Core\Api\Node\FileHandlerNode $fileHandler */
        foreach ($this->getFileHandlers() as $fileHandler) {
            $fileHandlers[$fileHandler->getExtension()] = array(
                'name' => $fileHandler->getName(),
                'params' => $fileHandler->getParamsAsArray()
            );
        }

        // return what we got
        return $fileHandlers;
    }
public function getFileHandlersAsArray ( ) { // initialize the array for the file handlers $ fileHandlers = array ( ) ; // iterate over the file handlers nodes and sort them into an array /** @var \AppserverIo\Appserver\Core\Api\Node\FileHandlerNode $fileHandler */ foreach ( $ this -> getFileHandlers ( ) as $ fileHandler ) { $ fileHandlers [ $ fileHandler -> getExtension ( ) ] = array ( 'name' => $ fileHandler -> getName ( ) , 'params' => $ fileHandler -> getParamsAsArray ( ) ) ; } // return what we got return $ fileHandlers ; }
Returns the file handlers as an associative array.

@return array The array with the sorted file handlers
Returns the file handlers as an associative array .