Reference

ApiPlatform\JsonSchema\Tests\Fixtures\ApiResource\Dummy Class

Dummy.

class ApiPlatform\JsonSchema\Tests\Fixtures\ApiResource\Dummy
{
    public staticMethod(): null
    public getId()
    public setId($id): null
    public setName(string $name): null
    public getName(): string
    public setAlias($alias): null
    public getAlias()
    public setDescription($description): null
    public getDescription()
    public fooBar($baz): null
    public getFoo(): array
    public setFoo(null|array $foo): null
    public setDummyDate(null|DateTime $dummyDate): null
    public getDummyDate()
    public setDummyPrice($dummyPrice)
    public getDummyPrice()
    public setJsonData($jsonData): null
    public getJsonData()
    public setArrayData($arrayData): null
    public getArrayData()
    public setDummy($dummy): null
    public getDummy()
}
class ApiPlatform\JsonSchema\Tests\Fixtures\ApiResource\Dummy
{
    public staticMethod(): null
    public getId()
    public setId($id): null
    public setName(string $name): null
    public getName(): string
    public setAlias($alias): null
    public getAlias()
    public setDescription($description): null
    public getDescription()
    public fooBar($baz): null
    public getFoo(): array
    public setFoo(null|array $foo): null
    public setDummyDate(null|DateTime $dummyDate): null
    public getDummyDate()
    public setDummyPrice($dummyPrice)
    public getDummyPrice()
    public setJsonData($jsonData): null
    public getJsonData()
    public setArrayData($arrayData): null
    public getArrayData()
    public setDummy($dummy): null
    public getDummy()
}

Properties

description

string $description
string $description

dummy

string $dummy
string $dummy

dummyBoolean

bool $dummyBoolean
bool $dummyBoolean

dummyDate

DateTime $dummyDate
DateTime $dummyDate

dummyFloat

float $dummyFloat
float $dummyFloat

dummyPrice

string $dummyPrice
string $dummyPrice

jsonData

array $jsonData
array $jsonData

arrayData

array $arrayData
array $arrayData

nameConverted

string $nameConverted
string $nameConverted

Methods

staticMethod

public staticMethod(): null
public staticMethod(): null

Returns

null

getId

public getId()
public getId()

setId

public setId($id): null
public setId($id): null

Parameters

id

Returns

null

setName

public setName(string $name): null
public setName(string $name): null

Parameters

namestring

Returns

null

getName

public getName(): string
public getName(): string

Returns

string

setAlias

public setAlias($alias): null
public setAlias($alias): null

Parameters

alias

Returns

null

getAlias

public getAlias()
public getAlias()

setDescription

public setDescription($description): null
public setDescription($description): null

Parameters

description

Returns

null

getDescription

public getDescription()
public getDescription()

fooBar

public fooBar($baz): null
public fooBar($baz): null

Parameters

baz

Returns

null

getFoo

public getFoo(): array
public getFoo(): array

Returns

array

setFoo

public setFoo(null|array $foo): null
public setFoo(null|array $foo): null

Parameters

fooarray

Returns

null

setDummyDate

public setDummyDate(null|DateTime $dummyDate): null
public setDummyDate(null|DateTime $dummyDate): null

Parameters

dummyDateDateTime

Returns

null

getDummyDate

public getDummyDate()
public getDummyDate()

setDummyPrice

public setDummyPrice($dummyPrice)
public setDummyPrice($dummyPrice)

Parameters

dummyPrice

getDummyPrice

public getDummyPrice()
public getDummyPrice()

setJsonData

public setJsonData($jsonData): null
public setJsonData($jsonData): null

Parameters

jsonData

Returns

null

getJsonData

public getJsonData()
public getJsonData()

setArrayData

public setArrayData($arrayData): null
public setArrayData($arrayData): null

Parameters

arrayData

Returns

null

getArrayData

public getArrayData()
public getArrayData()

setDummy

public setDummy($dummy): null
public setDummy($dummy): null

Parameters

dummy

Returns

null

getDummy

public getDummy()
public getDummy()

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop