public function __toPhpCode()
    {
        $source = '';
        if (! empty($this->readers)) {
            foreach ($this->readers as $reader) {
                $source .= \common_Utils::toHumanReadablePhpString($reader, 2) . PHP_EOL;
            }
        }

        $destination = '';
        if (! empty($this->writers)) {
            foreach ($this->writers as $writer) {
                $destination .= \common_Utils::toHumanReadablePhpString($writer, 2) . PHP_EOL;
            }
        }

        $params = [self::CONFIG_SOURCE => $this->readers, self::CONFIG_DESTINATION => $this->writers];

        return 'new ' . get_class($this) . '(' . \common_Utils::toHumanReadablePhpString($params, 1) . '),';
    }
public function __toPhpCode()
    {
        $source = '';
        if (! empty($this->readers)) {
            foreach ($this->readers as $reader) {
                $source .= \common_Utils::toHumanReadablePhpString($reader, 2) . PHP_EOL;
            }
        }

        $destination = '';
        if (! empty($this->writers)) {
            foreach ($this->writers as $writer) {
                $destination .= \common_Utils::toHumanReadablePhpString($writer, 2) . PHP_EOL;
            }
        }

        $params = [self::CONFIG_SOURCE => $this->readers, self::CONFIG_DESTINATION => $this->writers];

        return 'new ' . get_class($this) . '(' . \common_Utils::toHumanReadablePhpString($params, 1) . '),';
    }
public function __toPhpCode ( ) { $ source = '' ; if ( ! empty ( $ this -> readers ) ) { foreach ( $ this -> readers as $ reader ) { $ source .= \ common_Utils :: toHumanReadablePhpString ( $ reader , 2 ) . PHP_EOL ; } } $ destination = '' ; if ( ! empty ( $ this -> writers ) ) { foreach ( $ this -> writers as $ writer ) { $ destination .= \ common_Utils :: toHumanReadablePhpString ( $ writer , 2 ) . PHP_EOL ; } } $ params = [ self :: CONFIG_SOURCE => $ this -> readers , self :: CONFIG_DESTINATION => $ this -> writers ] ; return 'new ' . get_class ( $ this ) . '(' . \ common_Utils :: toHumanReadablePhpString ( $ params , 1 ) . '),' ; }
To configuration serialization

@return string
To configuration serialization