Documentation

ProfileImporterResponse extends BaseProfileResponse
in package

Table of Contents

Properties

$identifier  : int
$lastModifiedDate  : string
$namespaceUri  : string
$publicationDate  : string
$requiredModels  : array<string|int, mixed>
$validationStatus  : string
$version  : string

Methods

__construct()  : mixed
toArray()  : array<string|int, mixed>
Transform the response to a digestable format for the Profile Importer UI
formatDate()  : string
Format the date

Properties

Methods

__construct()

public __construct(int $identifier, string $namespaceUri, string $version, string $publicationDate, string $lastModifiedDate, string $validationStatus, array<string|int, mixed> $requiredModels) : mixed
Parameters
$identifier : int
$namespaceUri : string
$version : string
$publicationDate : string
$lastModifiedDate : string
$validationStatus : string
$requiredModels : array<string|int, mixed>

toArray()

Transform the response to a digestable format for the Profile Importer UI

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
  • The response mapped to the UI

formatDate()

Format the date

protected static formatDate(string $date[, string $format = 'M d, Y' ]) : string
Parameters
$date : string
  • The date to format
$format : string = 'M d, Y'
  • The format to use
Return values
string
  • The formatted date

        
On this page

Search results