public function dump()
    {
        $methods = $this->specification->getMethods();

        $result = '<?php
/*
 * This file is part of PHP Selenium Library.
 * (c) Alexandre Salomé <alexandre.salome@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Selenium;

/**
 * Browser class containing all methods of Selenium Server, with documentation.
 *
 * This class was generated, do not modify it.
 *
 * @author Alexandre Salomé <alexandre.salome@gmail.com>
 */
class GeneratedBrowser extends BaseBrowser
{
';

        foreach ($methods as $method) {
            $result .= $this->dumpMethod($method)."\n\n";
        }

        $result .= "}
";

        return $result;
    }
public function dump()
    {
        $methods = $this->specification->getMethods();

        $result = '<?php
/*
 * This file is part of PHP Selenium Library.
 * (c) Alexandre Salomé <alexandre.salome@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Selenium;

/**
 * Browser class containing all methods of Selenium Server, with documentation.
 *
 * This class was generated, do not modify it.
 *
 * @author Alexandre Salomé <alexandre.salome@gmail.com>
 */
class GeneratedBrowser extends BaseBrowser
{
';

        foreach ($methods as $method) {
            $result .= $this->dumpMethod($method)."\n\n";
        }

        $result .= "}
";

        return $result;
    }
public function dump ( ) { $ methods = $ this -> specification -> getMethods ( ) ; $ result = '<?php
/*
 * This file is part of PHP Selenium Library.
 * (c) Alexandre Salomé <alexandre.salome@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Selenium;

/**
 * Browser class containing all methods of Selenium Server, with documentation.
 *
 * This class was generated, do not modify it.
 *
 * @author Alexandre Salomé <alexandre.salome@gmail.com>
 */
class GeneratedBrowser extends BaseBrowser
{
' ; foreach ( $ methods as $ method ) { $ result .= $ this -> dumpMethod ( $ method ) . "\n\n" ; } $ result .= "}
" ; return $ result ; }
Dumps to source code

@return string The sourcecode
Dumps to source code