public function __construct(Container $container) { if (!static::$container) { static::$container = $container; } }