src/Core/Core.php
public function prefixApiRoute($name)
    {
        $prefix = $this->apiConfig('route.name-prefix');

        return starts_with($name, $prefix) ? $name : $prefix . $name;
    }
public function prefixApiRoute($name)
    {
        $prefix = $this->apiConfig('route.name-prefix');

        return starts_with($name, $prefix) ? $name : $prefix . $name;
    }
public function prefixApiRoute ( $ name ) { $ prefix = $ this -> apiConfig ( 'route.name-prefix' ) ; return starts_with ( $ name , $ prefix ) ? $ name : $ prefix . $ name ; }
Prefixes a route name with the standard web CMS API prefix, if required.

@param string $name
@return string
Prefixes a route name with the standard web CMS API prefix if required .