jstewmc/browser

A web browser

v0.1.0 2016-11-24 18:45 UTC

This package is auto-updated.

Last update: 2024-10-29 04:53:09 UTC


README

A web browser.

namespace Jstewmc\Browser;

// create a new browser
$browser = (new Browser())
    ->setPlatform('Macintosh')
    ->setName('Safari')
    ->setVersion('10.0.1');
    
// get the browser's information
$browser->getPlatform();  // returns "Macintosh"
$browser->getName();      // returns "Safari"
$browser->getVersion();   // returns "10.0.1"

That's about it!

Author

Jack Clayton

License

MIT

Version

0.1.0, November 24, 2016

  • Initial release