refererTracker::_appendToSession
_appendToSession
This private method appends a new path (in $cut) to the object ($paste). If a referer limit is set, then the array will be sliced - oldest elements first - until it matches the correct size.
Signature
private function _appendToSession(String
$cut,
&
$paste,
[integer
$limit = 10] )
Parameters
$cut
— object- The Path you want to define in the referer
$paste
—$limit
— integer- The max number of referers we want to keep
Returns
- Bool