for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @return \Nip\Mvc\Modules
*/
function mvc_modules()
{
if (!function_exists('app')) {
return null;
}
return app('mvc.modules');
* @return \Nip\Mvc\Sections\SectionsManager
function mvc_sections()
return app('mvc.sections');
* @param $section
* @param $url
* @return string
function mvc_section_url($section, $url = false): string
$section = mvc_sections()->getOne($section);
return $section->getURL($url);