MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //home/cafsindia/snap.cafsinfotech.in/tests/Facades/ProjectFactory.php
<?php

namespace Tests\Facades;

use App\Models\Project;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Facade;
use Tests\Factories\ProjectFactory as BaseProjectFactory;

/**
 * @method static Project create(array $attributes = [])
 * @method static Collection createMany(int $amount = 1)
 * @method static array createRandomModelData()
 * @method static BaseProjectFactory withTasks(int $quantity = 1)
 * @method static BaseProjectFactory forUsers(array $users)
 * @method static BaseProjectFactory createTasks(Project $project)
 */
class ProjectFactory extends Facade
{
    /**
     * Get the registered name of the component.
     */
    protected static function getFacadeAccessor(): string
    {
        return BaseProjectFactory::class;
    }

    /**
     * Resolve a new instance for the facade
     *
     * @return mixed
     */
    public static function refresh()
    {
        static::clearResolvedInstance(static::getFacadeAccessor());

        return static::getFacadeRoot();
    }
}