Skip to content

Commit

Permalink
moved some things around and renamed a few things
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilbourne committed Oct 10, 2024
1 parent e6f4a84 commit 3e312c3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

declare(strict_types=1);

namespace pvc\interfaces\struct\treesearch;
namespace pvc\interfaces\struct\tree\search;

use Iterator;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

declare(strict_types=1);

namespace pvc\interfaces\struct\treesearch;
namespace pvc\interfaces\struct\tree\search;

use pvc\interfaces\struct\collection\CollectionAbstractInterface;
use pvc\interfaces\struct\payload\HasPayloadInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

declare(strict_types=1);

namespace pvc\interfaces\struct\treesearch;
namespace pvc\interfaces\struct\tree\search;

use pvc\interfaces\struct\collection\CollectionAbstractInterface;
use pvc\interfaces\struct\payload\HasPayloadInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

declare(strict_types=1);

namespace pvc\interfaces\struct\treesearch;
namespace pvc\interfaces\struct\tree\search;

use pvc\interfaces\struct\collection\CollectionAbstractInterface;
use pvc\interfaces\struct\payload\HasPayloadInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@

declare(strict_types=1);

namespace pvc\interfaces\struct\treesearch;
namespace pvc\interfaces\struct\tree\search;

use pvc\interfaces\struct\collection\CollectionAbstractInterface;
use pvc\interfaces\struct\payload\HasPayloadInterface;

/**
* Class TreeSearchInterface
* Class SearchInterface
* @template PayloadType of HasPayloadInterface
* @template CollectionType of CollectionAbstractInterface
*/
interface TreeSearchInterface
interface SearchInterface
{
/**
* setStartNode
Expand All @@ -32,15 +32,15 @@ public function getStartNode(): mixed;

/**
* setSearchStrategy
* @param TreeSearchStrategyInterface<PayloadType, CollectionType> $strategy
* @param SearchStrategyInterface<PayloadType, CollectionType> $strategy
*/
public function setSearchStrategy(TreeSearchStrategyInterface $strategy): void;
public function setSearchStrategy(SearchStrategyInterface $strategy): void;

/**
* getSearchStrategy
* @return TreeSearchStrategyInterface<PayloadType, CollectionType>
* @return SearchStrategyInterface<PayloadType, CollectionType>
*/
public function getSearchStrategy(): TreeSearchStrategyInterface;
public function getSearchStrategy(): SearchStrategyInterface;

/**
* setSearchFilter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@

declare(strict_types=1);

namespace pvc\interfaces\struct\treesearch;
namespace pvc\interfaces\struct\tree\search;

use Iterator;
use pvc\interfaces\struct\collection\CollectionAbstractInterface;
use pvc\interfaces\struct\payload\HasPayloadInterface;

/**
* Class TreeSearchStrategyInterface
* Class SearchStrategyInterface
* @template PayloadType of HasPayloadInterface
* @template CollectionType of CollectionAbstractInterface
* @extends Iterator<NodeSearchableInterface>
*/
interface TreeSearchStrategyInterface extends Iterator
interface SearchStrategyInterface extends Iterator
{
/**
* setStartNode
Expand Down

0 comments on commit 3e312c3

Please sign in to comment.