Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.
This repository was archived by the owner on May 2, 2022. It is now read-only.

Examples of autoloading and namespacing classes? #127

Open
@tamara-m

Description

@tamara-m

The example composer.json has

"autoload": { "psr-4": { "TenUpScaffold\\": "includes/classes/" } }

But then there is no example inside the includes/classes/ folder of how to namespace different classes, nor differet example namespaces in the composer.json file, and have them all autoloaded with psr-4.

Would it be possible to include a simple example of how to include classes under different namespaces like, eg,

TenUpScaffold\ClassOne, TenUpScaffold\AnotherClass, TenUpScaffold\AnotherOne\Helper ?

Would be great to see in the sample class how it is initialized, etc.

Thank you for your scaffold repos!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions