Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to use namespaces in project code #32

Closed
chillu opened this issue Jul 23, 2018 · 3 comments
Closed

Document how to use namespaces in project code #32

chillu opened this issue Jul 23, 2018 · 3 comments

Comments

@chillu
Copy link
Member

chillu commented Jul 23, 2018

Acceptance Criteria

As a developer:

  • I know how to namespace my project classes
  • I know how to correctly configure autoloading
  • I'm pointed to this information from early-stage introductions (where Page.php is explained in docs and lessons)

Notes

@maxime-rainville
Copy link
Contributor

There's a bit of that in the upgrade guide:

Maybe some of the details from the upgrading guide need to be moved to this updated doc.

@maxime-rainville maxime-rainville self-assigned this Jan 13, 2019
@maxime-rainville maxime-rainville removed their assignment Feb 25, 2019
@GuySartorelli GuySartorelli transferred this issue from silverstripe/silverstripe-framework Jul 16, 2022
@GuySartorelli
Copy link
Member

Pretty much all examples in the docs omit namespaces for the classes being defined. Perhaps we should have an action at to just update the examples so that any time a class is defined, it is given a namespace - and whenever a class is used in an example, a use statement is included.

@GuySartorelli
Copy link
Member

This will be handled in #67

erangaddd added a commit to erangaddd/developer-docs that referenced this issue Dec 14, 2023
Fixed typo error in line silverstripe#32 and added the line 
use SilverStripe\Forms\TextareaField;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants