Closed aydreeihn closed 2 years ago
Add aliases for classes into app.php so that we can call classes without having to list out the whole path.
Ex: Fields\ClassName::doSomething(); to ClassName::doSomething();
Add to app.php: 'ClassName' => App\Fields\ ClassName::class,
Now the class can be referenced without qualifiers: use ClassName; ... ClassName:: doSomething();
Research if there is a way to automatically pull these into app.php
Add aliases for classes into app.php so that we can call classes without having to list out the whole path.
Ex: Fields\ClassName::doSomething(); to ClassName::doSomething();
Add to app.php: 'ClassName' => App\Fields\ ClassName::class,
Now the class can be referenced without qualifiers: use ClassName; ... ClassName:: doSomething();
Research if there is a way to automatically pull these into app.php