- Add comprehensive error handling system with custom error pages - Implement professional enterprise-style design with Tailwind CSS - Create modular HMVC architecture with clean separation of concerns - Add security features: CSRF protection, XSS filtering, Argon2ID hashing - Include CLI tools for development workflow - Add error reporting dashboard with system monitoring - Implement responsive design with consistent slate color scheme - Replace all emoji icons with professional SVG icons - Add comprehensive test suite with PHPUnit - Include database migrations and seeders - Add proper exception handling with fallback pages - Implement template engine with custom syntax support - Add helper functions and facades for clean code - Include proper logging and debugging capabilities
35 lines
531 B
PHP
35 lines
531 B
PHP
<?php
|
|
|
|
namespace App\Core\Facades;
|
|
|
|
/**
|
|
* NovaCore App Facade
|
|
* Static access to application services
|
|
*/
|
|
class App
|
|
{
|
|
/**
|
|
* Get service from container
|
|
*/
|
|
public static function get(string $name)
|
|
{
|
|
return app($name);
|
|
}
|
|
|
|
/**
|
|
* Check if service exists
|
|
*/
|
|
public static function has(string $name): bool
|
|
{
|
|
return app()->has($name);
|
|
}
|
|
|
|
/**
|
|
* Get all services
|
|
*/
|
|
public static function all(): array
|
|
{
|
|
return app()->getServices();
|
|
}
|
|
}
|