Skip to content

Commit

Permalink
Merge pull request #300 from hydephp/update-kernel-contract
Browse files Browse the repository at this point in the history
Update HydeKernelContract interface
  • Loading branch information
caendesilva authored Jul 31, 2022
2 parents 3d6eb64 + 645de07 commit 761d0c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This serves two purposes:
2. At release time, you can move the Unreleased section changes into a new release version section.

### Added
- for new features.
- internal: Adds methods to the HydeKernelContract interface

### Changed
- internal: The HydeKernel has been refactored to move related logic to service classes. This does not change the end usage as the Hyde facade still works the same
Expand Down
7 changes: 5 additions & 2 deletions packages/framework/src/Contracts/HydeKernelContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
* The HydeKernel encapsulates a HydePHP project,
* providing helpful methods for interacting with it.
*
* @see \Hyde\Framework\HydeKernel
*
* It is bound into the Laravel Application Service Container,
* and can be accessed in a few ways.
*
* - Commonly, you'll use the Hyde facade:
*
* @see \Hyde\Framework\Hyde (previosly this namespace contained the actual Kernel)
*
* @example \Hyde\Framework\Hyde::foo()
Expand All @@ -26,5 +27,7 @@
*/
interface HydeKernelContract
{
//
public function getBasePath(): string;

public function setBasePath(string $basePath);
}

0 comments on commit 761d0c7

Please sign in to comment.