-
Notifications
You must be signed in to change notification settings - Fork 399
Namespaces
Bob Gobeille edited this page Apr 23, 2015
·
1 revision
Namespaces provide a simple way to restrict visibility of functions and classes to a defined path.
You can use the namespace statement to declare a namespace for the current file
<?php
namespace Fossology\Lib\Foo;
class Bar {
...
}
You can use a fully qualifying classname e.g. Fossology\Lib\Foo\Bar
<?php
namespace Fossology\Lib\Baz;
$bar = Fossology\Lib\Foo\Bar();
or pull the definition in the current namespace by using the "use" command
<?php
namespace Fossology\Lib\Baz;
use Fossology\Lib\Foo\Bar
$bar2 = new Bar();
- Nomos
- Monk
- MonkBulk
- ReSo-(REUSE.Software)
- Reuse clearing with reuser
- ScanCode agent
- Copyright
- ECC
- Package Agent
- Maintenance Agent
- Mimetype Agent
- Buckets
- Spasht Agent
- Email notification configuration
- Migration to UTF 8 DB
- External authentication configuration
- OpenID Connect authentication configuration
- Access Control