Add PropertyFromHttp trait and update codebase to use new pattern

This commit is contained in:
Alex Cabal 2024-11-10 22:23:43 -06:00
parent c35c47b793
commit acb30b897c
47 changed files with 851 additions and 527 deletions

View file

@ -10,6 +10,11 @@ class Museum{
public string $Name;
public string $Domain;
// *******
// METHODS
// *******
/**
* @throws Exceptions\InvalidUrlException
* @throws Exceptions\InvalidMuseumUrlException
@ -597,6 +602,10 @@ class Museum{
return $outputUrl;
}
// ***********
// ORM METHODS
// ***********
/**
* @throws Exceptions\MuseumNotFoundException
* @throws Exceptions\InvalidUrlException