public static function setLinker(controller\linker $linker = null) { self::$linker = $linker ?: new controller\linker(); }
public static function get() { $instance = self::$controlNextNewMock; if ($instance !== null) { self::$controlNextNewMock = null; } return $instance; }