Skip to content

Commit

Permalink
[11.x] Add prependLocation method to View Factory (#52806)
Browse files Browse the repository at this point in the history
  • Loading branch information
nshiro authored Sep 16, 2024
1 parent 1e8753e commit 2b72540
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,17 @@ public function addLocation($location)
$this->finder->addLocation($location);
}

/**
* Prepend a location to the array of view locations.
*
* @param string $location
* @return void
*/
public function prependLocation($location)
{
$this->finder->prependLocation($location);
}

/**
* Add a new namespace to the loader.
*
Expand Down

0 comments on commit 2b72540

Please sign in to comment.