app/View.php
public static function stack(string $stack): string
    {
        $content = implode('', self::$stacks[$stack] ?? []);

        self::$stacks[$stack] = [];

        return $content;
    }
public static function stack(string $stack): string
    {
        $content = implode('', self::$stacks[$stack] ?? []);

        self::$stacks[$stack] = [];

        return $content;
    }
public static function stack ( string $ stack ) : string { $ content = implode ( '' , self :: $ stacks [ $ stack ] ?? [ ] ) ; self :: $ stacks [ $ stack ] = [ ] ; return $ content ; }
Implementation of Blade "stacks".

@param string $stack

@return string
Implementation of Blade stacks .