Interface describing a Retrievable Child Model

Models implementing this interface provide a way to get there children by capture

 Methods

Returns an array of Viewmodels with captureTo value $capture

getChildrenByCaptureTo(string $capture, bool $recursive) : array

Parameters

$capture

string

$recursive

bool

search recursive through children, default true

Returns

array