class Info

Properties

int|null $year
string|null $version
string|null $description
string|null $contributor
string|null $url
string|null $date_created

Methods

static Info
create(array $data)

No description

static int|null
parseYear($year)

Parse year value to int or null, handling both string and int inputs

Details

at line 14
static Info create(array $data)

No description

Parameters

array $data

Return Value

Info

at line 30
static private int|null parseYear($year)

Parse year value to int or null, handling both string and int inputs

Parameters

$year

Return Value

int|null