!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/vendor/konekt/concord/src/Contracts/   drwxrwxrwx
Free 13.14 GB of 57.97 GB (22.67%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Convention.php (4.76 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Contains the Convention interface.
 *
 * @copyright   Copyright (c) 2017 Attila Fulop
 * @author      Attila Fulop
 * @license     MIT
 * @since       2017-04-14
 *
 */

namespace Konekt\Concord\Contracts;

/**
 * Convention is the layout of folders, files, namespaces used by Concord
 *
 * Paths are relative to the module root by default
 */
interface Convention
{
    
/**
     * Returns the folder name for modules
     *
     * @return string
     */
    
public function modulesFolder(): string;

    
/**
     * Returns the folder name for Model classes
     *
     * @return string
     */
    
public function modelsFolder(): string;

    
/**
     * Returns the folder name for Enum classes
     *
     * @return string
     */
    
public function enumsFolder(): string;

    
/**
     * Returns the folder name for Contracts (interfaces)
     *
     * @return string
     */
    
public function contractsFolder(): string;

    
/**
     * Returns the folder name for Controllers
     *
     * @return string
     */
    
public function controllersFolder(): string;

    
/**
     * Returns the folder name for Requests
     *
     * @return string
     */
    
public function requestsFolder(): string;

    
/**
     * Returns the folder name for API Resources
     *
     * @return string
     */
    
public function resourcesFolder(): string;

    
/**
     * Returns the folder name for config files
     *
     * @return string
     */
    
public function configFolder(): string;

    
/**
     * Returns the folder name for migration files
     *
     * @return string
     */
    
public function migrationsFolder(): string;

    
/**
     * Returns the folder name for Provider classes
     *
     * @return string
     */
    
public function providersFolder(): string;

    
/**
     * Returns the base folder name for views
     *
     * @return string
     */
    
public function viewsFolder(): string;

    
/**
     * Returns the folder name for route files
     *
     * @return string
     */
    
public function routesFolder(): string;

    
/**
     * Returns the path + filename to the manifest file relative to the module
     *
     * @return string
     */
    
public function manifestFile(): string;

    
/**
     * Return the contract class (interface) for the given model class according to the convention
     *
     * @param string $modelClass
     *
     * @return string
     */
    
public function contractForModel(string $modelClass): string;

    
/**
     * Return the contract class (interface) for the given enum class according to the convention
     *
     * @param string $enumClass
     *
     * @return string
     */
    
public function contractForEnum(string $enumClass): string;

    
/**
     * Return the contract class (interface) for the given request class according to the convention
     *
     * @param string $requestClass
     *
     * @return string
     */
    
public function contractForRequest(string $requestClass): string;

    
/**
     * Return the model class for the given repository according to the convention
     *
     * @param string $repositoryClass
     *
     * @return string
     */
    
public function modelForRepository(string $repositoryClass): string;

    
/**
     * Return the model class for the given proxy according to the convention
     *
     * @param string $proxyClass
     *
     * @return string
     */
    
public function modelForProxy(string $proxyClass): string;

    
/**
     * Returns the repository class for a given model according to the convention
     *
     * @param string $modelClass
     *
     * @return mixed
     */
    
public function repositoryForModel(string $modelClass): string;

    
/**
     * Returns the proxy class for a given model according to the convention
     *
     * @param string $modelClass
     *
     * @return mixed
     */
    
public function proxyForModel(string $modelClass): string;

    
/**
     * Returns the proxy class for a given enum according to the convention
     *
     * @param string $enumClass
     *
     * @return mixed
     */
    
public function proxyForEnum(string $enumClass): string;

    
/**
     * Return the enum class for the given proxy according to the convention
     *
     * @param string $proxyClass
     *
     * @return string
     */
    
public function enumForProxy(string $proxyClass): string;

    
/**
     * Returns the proxy class for a given enum contract (interface) according to the convention
     *
     * @param string $enumContract
     *
     * @return string
     */
    
public function proxyForEnumContract(string $enumContract);

    
/**
     * Returns the proxy class for a given model contract (interface) according to the convention
     *
     * @param string $modelContract
     *
     * @return string
     */
    
public function proxyForModelContract(string $modelContract): string;
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0052 ]--