Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/dev/tests/integration/framework/Magento/TestFramework/Fixture/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/old/dev/tests/integration/framework/Magento/TestFramework/Fixture/DataFixture.php
<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\TestFramework\Fixture;

use Attribute;

#[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
class DataFixture
{
    /**
     * @param string $type Fixture class name
     * @param array $data Data passed on to the fixture.
     * @param string|null $as Fixture identifier used to retrieve the data returned by the fixture
     * @param string|null $scope Name of scope data fixture in which the data fixture should be executed
     * @param int $count Number of instances to generate
     */
    public function __construct(
        public string $type,
        public array $data = [],
        public ?string $as = null,
        public ?string $scope = null,
        public int $count = 1
    ) {
    }
}

Spamworldpro Mini