public static function pager(?PagerConfig
$config = null, ?RendererInterface
$view = null, bool
$getShared = true
) { if ($getShared) { return static::
getSharedInstance('pager',
$config,
$view);
} $config ??=
config(PagerConfig::
class);
$view ??= AppServices::
renderer(null, null, false
);
return new Pager($config,
$view);
} /**
* The Parser is a simple template parser.
*
* @return Parser
*/
public static function parser(?string
$viewPath = null, ?ViewConfig
$config = null, bool
$getShared = true
) { if ($getShared) { return static::
getSharedInstance('parser',
$viewPath,
$config);
}