Skip to content

Commit

Permalink
Add PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Jan 24, 2025
1 parent 731349b commit 9259ceb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Traits/Configuration/ConfigurableAreasConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
trait ConfigurableAreasConfiguration
{
/**
* Set all configurable areas to this array of configuration data
*
* @param array<mixed> $areas
*/
public function setConfigurableAreas(array $areas): self
Expand All @@ -14,6 +16,12 @@ public function setConfigurableAreas(array $areas): self
return $this;
}

/**
* Configure a specific Configurable Area
*
* @param string $configurableArea
* @param array<mixed> $config
*/
public function setConfigurableArea(string $configurableArea, mixed $config): self
{
if (array_key_exists($configurableArea, $this->configurableAreas)) {
Expand Down

0 comments on commit 9259ceb

Please sign in to comment.