PackageCreator
class PackageCreator (View source)
Methods
void
void
createWithResources(
Package $package,
string $path)
Create a package with all resource directories.
void
writeSupportFiles(
Package $package,
string $directory,
bool $plain)
Write the support files to the package root.
void
writeIgnoreFile(
Package $package,
string $directory,
bool $plain)
Write the stub .gitignore file for the package.
void
writeSupportDirectories(
Package $package,
string $directory)
Create the support directories for a package.
void
writePublicDirectory(
Package $package,
string $directory,
bool $plain)
Create the public directory for the package.
void
void
writeServiceProvider(
Package $package,
string $directory,
bool $plain)
Write the stub ServiceProvider for the package.
Details
at line line 57
string
create(
Package $package,
string $path,
bool $plain = true)
Create a new package stub.
at line line 79
void
createWithResources(
Package $package,
string $path)
Create a package with all resource directories.
at line line 103
void
writeSupportFiles(
Package $package,
string $directory,
bool $plain)
Write the support files to the package root.
at line line 177
void
writeIgnoreFile(
Package $package,
string $directory,
bool $plain)
Write the stub .gitignore file for the package.
at line line 189
void
writeSupportDirectories(
Package $package,
string $directory)
Create the support directories for a package.
at line line 225
void
writePublicDirectory(
Package $package,
string $directory,
bool $plain)
Create the public directory for the package.