Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./nikic/../dompdf/../alexandr-mironov/../monolog/../composer/../././stripe/../dragonmantank/../africastalking/../egulias/../barryvdh/./././../vlucas/../../vendor/./laravel/../nwidart/laravel-modules/src/.
الملفات الموجودة في هذا الـ Path:
.
..
Activators
Collection.php
Commands
Contracts
Exceptions
Facades
FileRepository.php
Generators
Json.php
Laravel
LaravelModulesServiceProvider.php
Lumen
LumenModulesServiceProvider.php
Migrations
Module.php
ModulesServiceProvider.php
Process
Providers
Publishing
Routing
Support
Traits
helpers.php

مشاهدة ملف: helpers.php

<?php

if (! function_exists('module_path')) {
    function module_path($name, $path = '')
    {
        $module = app('modules')->find($name);

        return $module->getPath() . ($path ? DIRECTORY_SEPARATOR . $path : $path);
    }
}

if (! function_exists('config_path')) {
    /**
     * Get the configuration path.
     *
     * @param  string $path
     * @return string
     */
    function config_path($path = '')
    {
        return app()->basePath() . '/config' . ($path ? DIRECTORY_SEPARATOR . $path : $path);
    }
}

if (! function_exists('public_path')) {
    /**
     * Get the path to the public folder.
     *
     * @param  string  $path
     * @return string
     */
    function public_path($path = '')
    {
        return app()->make('path.public') . ($path ? DIRECTORY_SEPARATOR . ltrim($path, DIRECTORY_SEPARATOR) : $path);
    }
}