protected function __positionedAfter($elements, $value)
{
$value = $this->_getBlock($value);
if (!$value) {
return $elements;
}
$index = $this->_indexOfRootBlock($elements, $value);
if ($index < 0) {
return [];
}
$root = $elements[$index];
$nextRoot = $this->__nextSiblingOf($elements, $root);
if (empty($nextRoot)) {
return [];
}
$nextIndex = $this->_indexOfBlock($elements, $nextRoot[0]);
return array_slice($elements, $nextIndex);
}