src/Core/BootChecker.php
public function isCmsApiRequest()
    {
        if (app()->runningInConsole() || ! $this->isCmsApiEnabled()) {
            return false;
        }

        return $this->requestRouteMatchesPrefix($this->getCmsApiRoutePrefix());
    }
public function isCmsApiRequest()
    {
        if (app()->runningInConsole() || ! $this->isCmsApiEnabled()) {
            return false;
        }

        return $this->requestRouteMatchesPrefix($this->getCmsApiRoutePrefix());
    }
public function isCmsApiRequest ( ) { if ( app ( ) -> runningInConsole ( ) || ! $ this -> isCmsApiEnabled ( ) ) { return false ; } return $ this -> requestRouteMatchesPrefix ( $ this -> getCmsApiRoutePrefix ( ) ) ; }
Returns whether performing a request to the CMS API, based on its routing.

@return bool
Returns whether performing a request to the CMS API based on its routing .