-
#[ApiResource]
-
$operations: [new \ApiPlatform\Metadata\Post()]
-
$normalizationContext: ['groups' => ['config:read']]
-
$denormalizationContext: ['groups' => ['config:write']]
-
#[Entity]
-
$repositoryClass: \App\Repository\ConfigAppRepository::class
Table of Contents
Constants
-
RECEIPT_FORMAT_A4
: mixed = 'a4'
-
RECEIPT_FORMAT_THERMAL
: mixed = 'thermal'
Properties
-
$address
: string|null
-
$businessUser
: string|null
-
$city
: string|null
-
$country
: string|null
-
$email
: string|null
-
$id
: int|null
-
$logo
: string|null
-
$name
: string|null
-
$phone_number
: PhoneNumber|null
-
$pointOfSale
: int|null
-
$rccm
: string|null
-
$receiptFormat
: string|null
Methods
-
getAddress()
: string|null
-
getBusinessUser()
: string|null
-
getCity()
: string|null
-
getCountry()
: string|null
-
getEmail()
: string|null
-
getId()
: int|null
-
getLogo()
: string|null
-
getName()
: string|null
-
getPhoneNumber()
: PhoneNumber|null
-
getPointOfSale()
: int|null
-
getRccm()
: string|null
-
getReceiptFormat()
: string|null
-
setAddress()
: static
-
setBusinessUser()
: static
-
setCity()
: static
-
setCountry()
: static
-
setEmail()
: static
-
setLogo()
: static
-
setName()
: static
-
setPhoneNumber()
: static
-
setPointOfSale()
: static
-
setRccm()
: static
-
setReceiptFormat()
: static
public
mixed
RECEIPT_FORMAT_A4
= 'a4'
public
mixed
RECEIPT_FORMAT_THERMAL
= 'thermal'
$address
private
string|null
$address
= null
-
#[Column]
-
$length: 255
-
#[Groups]
-
['config:read', 'config:write']
$businessUser
private
string|null
$businessUser
= null
-
#[Column]
-
$length: 255
-
$nullable: true
-
#[Groups]
-
['config:read', 'config:write']
$city
private
string|null
$city
= null
-
#[Column]
-
$length: 255
-
#[Groups]
-
['config:read', 'config:write']
$country
private
string|null
$country
= null
-
#[Column]
-
$length: 255
-
#[Groups]
-
['config:read', 'config:write']
$email
private
string|null
$email
= null
-
#[Column]
-
$length: 255
-
$nullable: false
-
#[Groups]
-
['config:read', 'config:write']
$id
private
int|null
$id
= null
-
#[Column]
-
#[GeneratedValue]
-
#[Id]
$logo
private
string|null
$logo
= null
-
#[Column]
-
$length: 255
-
$nullable: true
$name
private
string|null
$name
= null
-
#[Column]
-
$length: 255
-
#[Groups]
-
['config:read', 'config:write']
$phone_number
private
PhoneNumber|null
$phone_number
= null
-
#[Column]
-
$type: "phone_number"
-
$length: 255
-
$nullable: true
$pointOfSale
private
int|null
$pointOfSale
= null
-
#[Column]
-
#[Groups]
-
['config:read', 'config:write']
$rccm
private
string|null
$rccm
= null
-
#[Column]
-
$length: 255
-
$nullable: true
private
string|null
$receiptFormat
= self::RECEIPT_FORMAT_THERMAL
-
#[Column]
-
$length: 20
-
$options: ['default' => self::RECEIPT_FORMAT_THERMAL]
getAddress()
public
getAddress() : string|null
Return values
string|null
getBusinessUser()
public
getBusinessUser() : string|null
Return values
string|null
getCity()
public
getCity() : string|null
Return values
string|null
getCountry()
public
getCountry() : string|null
Return values
string|null
getEmail()
public
getEmail() : string|null
Return values
string|null
getId()
public
getId() : int|null
getLogo()
public
getLogo() : string|null
Return values
string|null
getName()
public
getName() : string|null
Return values
string|null
getPhoneNumber()
public
getPhoneNumber() : PhoneNumber|null
Return values
PhoneNumber|null
getPointOfSale()
public
getPointOfSale() : int|null
getRccm()
public
getRccm() : string|null
Return values
string|null
public
getReceiptFormat() : string|null
Return values
string|null
setAddress()
public
setAddress(string $address) : static
Parameters
-
$address
: string
-
setBusinessUser()
public
setBusinessUser(string $businessUser) : static
Parameters
-
$businessUser
: string
-
setCity()
public
setCity(string $city) : static
Parameters
-
$city
: string
-
setCountry()
public
setCountry(string $country) : static
Parameters
-
$country
: string
-
setEmail()
public
setEmail(string|null $email) : static
Parameters
-
$email
: string|null
-
setLogo()
public
setLogo(string|null $logo) : static
Parameters
-
$logo
: string|null
-
setName()
public
setName(string $name) : static
Parameters
-
$name
: string
-
setPhoneNumber()
public
setPhoneNumber(PhoneNumber|null $phone_number) : static
Parameters
-
$phone_number
: PhoneNumber|null
-
setPointOfSale()
public
setPointOfSale(int $pointOfSale) : static
Parameters
-
$pointOfSale
: int
-
setRccm()
public
setRccm(string|null $rccm) : static
Parameters
-
$rccm
: string|null
-
public
setReceiptFormat(string $receiptFormat) : static
Parameters
-
$receiptFormat
: string
-