php-yaoi/php-yaoi

View on GitHub
src/Undefined.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Yaoi;

class Undefined
{
    public static function get()
    {
        static $value;
        if (null === $value) {
            $value = new self();
        }
        return $value;
    }
}