class Capsule (View source)

Properties

string $name
string $path
bool $enabled
bool $packageCapsule
bool $loaded
protected bool $automaticNavigation

Methods

__construct(string $name, string $namespace, string $path, string $singular = null, bool $enabled = true, bool $packageCapsule = false, bool $automaticNavigation = true)

No description

void
boot()

No description

void
registerServiceProvider()

No description

void
autoloadConfigFiles()

No description

void
registerViews()

No description

void
loadMigrations()

No description

void
registerRoutes()

No description

void
loadTranslations()

No description

string
getBasePath(string $path)

No description

string
getModule()

No description

string
getDisplayName()

No description

string
getPlural()

No description

string
getSingular()

No description

string
getBaseNamespace()

No description

string
getDatabaseNamespace()

No description

string
getDatabasePsr4Path()

No description

string
getSeedsNamespace()

No description

string
getSeedsPsr4Path()

No description

string
getMigrationsPath()

No description

string
getResourcesPath()

No description

string
getLanguagesPath()

No description

string
getViewsPath()

No description

string
getModelNamespace()

No description

string
getModelsDir()

No description

string
getRepositoriesNamespace()

No description

string
getRepositoriesDir()

No description

string
getControllersNamespace()

No description

string
getControllersDir()

No description

string
getRequestsNamespace()

No description

string
getRequestsDir()

No description

string
getPsr4Path()

No description

string
getViewPrefix()

No description

string
getRoutesFile()

No description

bool
routesFileExists()

No description

string
getModel()

No description

string
getTranslationModel()

No description

string
getSlugModel()

No description

string
getRevisionModel()

No description

string
getRepositoryClass()

No description

string
getControllerClass()

No description

string
getFormRequestClass()

No description

string
getConfigFile()

No description

array
getConfig()

No description

void
registerConfig()

No description

bool
isSingleton()

No description

string
getType()

No description

void

Details

__construct(string $name, string $namespace, string $path, string $singular = null, bool $enabled = true, bool $packageCapsule = false, bool $automaticNavigation = true)

No description

Parameters

string $name
string $namespace
string $path
string $singular
bool $enabled
bool $packageCapsule
bool $automaticNavigation

void boot()

No description

Return Value

void

void registerServiceProvider()

No description

Return Value

void

void autoloadConfigFiles()

No description

Return Value

void

void registerViews()

No description

Return Value

void

void loadMigrations()

No description

Return Value

void

void registerRoutes()

No description

Return Value

void

void loadTranslations()

No description

Return Value

void

string getBasePath(string $path)

No description

Parameters

string $path

Return Value

string

string getModule()

No description

Return Value

string

string getDisplayName()

No description

Return Value

string

string getPlural()

No description

Return Value

string

string getSingular()

No description

Return Value

string

string getBaseNamespace()

No description

Return Value

string

string getDatabaseNamespace()

No description

Return Value

string

string getDatabasePsr4Path()

No description

Return Value

string

string getSeedsNamespace()

No description

Return Value

string

string getSeedsPsr4Path()

No description

Return Value

string

string getMigrationsPath()

No description

Return Value

string

string getResourcesPath()

No description

Return Value

string

string getLanguagesPath()

No description

Return Value

string

string getViewsPath()

No description

Return Value

string

string getModelNamespace()

No description

Return Value

string

string getModelsDir()

No description

Return Value

string

string getRepositoriesNamespace()

No description

Return Value

string

string getRepositoriesDir()

No description

Return Value

string

string getControllersNamespace()

No description

Return Value

string

string getControllersDir()

No description

Return Value

string

string getRequestsNamespace()

No description

Return Value

string

string getRequestsDir()

No description

Return Value

string

string getPsr4Path()

No description

Return Value

string

string getViewPrefix()

No description

Return Value

string

string getRoutesFile()

No description

Return Value

string

bool routesFileExists()

No description

Return Value

bool

string getModel()

No description

Return Value

string

string getTranslationModel()

No description

Return Value

string

string getSlugModel()

No description

Return Value

string

string getRevisionModel()

No description

Return Value

string

string getRepositoryClass()

No description

Return Value

string

string getControllerClass()

No description

Return Value

string

string getFormRequestClass()

No description

Return Value

string

string getConfigFile()

No description

Return Value

string

array getConfig()

No description

Return Value

array

void registerConfig()

No description

Return Value

void

bool isSingleton()

No description

Return Value

bool

string getType()

No description

Return Value

string

void registerBlocksAndRepeatersViewPaths()

No description

Return Value

void