trs_matrimony/vendor/doctrine/deprecations/test_fixtures/src/Foo.php
2024-08-22 09:31:12 +05:30

23 lines
372 B
PHP

<?php
declare(strict_types=1);
namespace DeprecationTests;
use Doctrine\Foo\Bar;
class Foo
{
public static function triggerDependencyWithDeprecation(): void
{
$bar = new Bar();
$bar->oldFunc();
}
public static function triggerDependencyWithDeprecationFromInside(): void
{
$bar = new Bar();
$bar->newFunc();
}
}