initial commit

This commit is contained in:
Paul Spenke
2023-06-09 10:24:36 +08:00
parent 00ceb09c93
commit b493973559
146 changed files with 19956 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace PHPageBuilder\Contracts;
interface MenuRepositoryContract
{
/**
* Replace all menus by the given data.
*
* @param array $data
* @return bool|object|null
*/
public function updateMenus(array $data);
/**
* Get one hydrated menu with the given name.
*
* @param string $name
* @return object|null
*/
public function getHydratedMenu(string $name);
/**
* Get all hydrated menus with the given name.
*
* @return array
*/
public function getHydratedMenus();
}