Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Returns the name of the class of an object
<?php get_class(object $object = ?): string
<?php     public function swapGenerator(string $concrete, Generator $generator)

    {

        foreach ($this->generators as $key => $registeredGenerator) {

            if (get_class($registeredGenerator) === $concrete) {

                unset($this->generators[$key]);

            }

        }
<?php     private function relativeClassName($model)

    {

        $name = Blueprint::relativeNamespace(get_class($model));



        return ltrim(str_replace(config('blueprint.models_namespace'), '', $name), '\\');

    }
<?php             ]);



        $this->subject->registerGenerator($generatorOne);

        $this->subject->swapGenerator(get_class($generatorOne), $generatorSwap);



        $this->assertEquals([

            'created' => ['swapped/new.php'],