TwillCapsules
class TwillCapsules (View source)
Properties
Capsule[] | $registeredCapsules |
Methods
registerPackageCapsule(string $name, string $namespace, string $path, string $singular = null, bool $enabled = true, bool $automaticNavigation = true)
No description
void
makeProjectCapsule(string $name)
Generates a non package capsule object.
getCapsuleForModule(string $module)
No description
getCapsuleForModel(TwillModelContract $model)
No description
Collection
getRegisteredCapsules()
No description
void
loadProjectCapsules()
No description
string
capsuleNamespace($capsuleName, $type = null)
No description
string
capsuleNamespaceToPath($namespace, $capsuleNamespace, $rootPath)
No description
string
getProjectCapsulesPath()
No description
getAutoloader()
No description
Details
Capsule
registerPackageCapsule(string $name, string $namespace, string $path, string $singular = null, bool $enabled = true, bool $automaticNavigation = true)
No description
void
registerCapsule(Capsule $capsule)
No description
Capsule
makeProjectCapsule(string $name)
Generates a non package capsule object.
Capsule
getCapsuleForModule(string $module)
No description
Capsule
getCapsuleForModel(TwillModelContract $model)
No description
Collection
getRegisteredCapsules()
No description
void
loadProjectCapsules()
No description
string
capsuleNamespace($capsuleName, $type = null)
No description
string
capsuleNamespaceToPath($namespace, $capsuleNamespace, $rootPath)
No description
string
getProjectCapsulesPath()
No description
getAutoloader()
No description