app/View.php
public static function endpushunique(): void
    {
        $content = ob_get_clean();

        self::$stacks[self::$stack][sha1($content)] = $content;
    }
public static function endpushunique(): void
    {
        $content = ob_get_clean();

        self::$stacks[self::$stack][sha1($content)] = $content;
    }
public static function endpushunique ( ) : void { $ content = ob_get_clean ( ) ; self :: $ stacks [ self :: $ stack ] [ sha1 ( $ content ) ] = $ content ; }
Variant of push that will only add one copy of each item.

@return void
Variant of push that will only add one copy of each item .