Interface describing a Retrievable Child Model

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

package Default

 Methods

Returns an array of Viewmodels with captureTo value $capture

getChildrenByCaptureTo(string $capture, boolean $recursive = true) : array

Parameters

$capture

string

$recursive

boolean

search recursive through children, default true

Returns

array