Skip to main content

akaunting/akaunting

9334 stars
1 code files
View akaunting/akaunting on GitHub

overrides/Illuminate/View/Concerns/ManagesStacks.php

Open in GitHub
trait ManagesStacks
{
//
public function stopPush()
{
if (empty($this->pushStack)) {
throw new InvalidArgumentException('Cannot end a push stack without first starting one.');
}
 
return tap(array_pop($this->pushStack), function ($last) {
$this->extendPush($last, ob_get_clean());
});
}
//
}