Skip to content

ublaboo/web-passage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version License Total Downloads Gitter

WebPassage

Saving web passage: small util for Nette Framework

Config.neon:

services:
    - Ublaboo\WebPassage\WebPassage

Usage:

/**
 * @var Ublaboo\WebPassage\WebPassage
 * @inject
 */
public $webPassage;


public function startup()
{
	parent::startup();

	$this->webPassage->saveState();
}

Now when you need list of your website passage, you can get it by calling WebPassage::getPassage:

/**
 * Maximum size of passage array is 40
 */
$webPassage->getPassage($size = 10, $include_host = TRUE);

About

Saving web passage: small util for Nette Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages