BumbleDocGen / Technical description of the project / Parser / Entity filter conditions / ConditionInterface
ConditionInterface class:
namespace BumbleDocGen\Core\Parser\FilterCondition;
interface ConditionInterface- # canAddToCollection | source code
public function canAddToCollection(\BumbleDocGen\Core\Parser\Entity\EntityInterface $entity): bool;Parameters:
| Name | Type | Description |
|---|---|---|
| $entity | \BumbleDocGen\Core\Parser\Entity\EntityInterface | - |
Return value: bool