CloudManager
class CloudManager (View source)
Traits
Properties
| static protected array | $macros | The registered string macros. |
from Macroable |
Methods
Mix another object into the class.
Dynamically handle calls to the class.
Dynamically handle calls to the class.
Determine if the application is currently hosted on Laravel Cloud.
Determine if the application is using Laravel Cloud managed queues.
Determine if the given queue is managed by Laravel Cloud.
Details
static void
macro(string $name, object|callable $macro)
Register a custom macro.
static void
mixin(object $mixin, bool $replace = true)
Mix another object into the class.
static bool
hasMacro(string $name)
Checks if macro is registered.
static void
flushMacros()
Flush the existing macros.
static mixed
__callStatic(string $method, array $parameters)
Dynamically handle calls to the class.
mixed
__call(string $method, array $parameters)
Dynamically handle calls to the class.
__construct(Container $container)
Create a new Laravel Cloud manager instance.
bool
hosted()
Determine if the application is currently hosted on Laravel Cloud.
bool
usesManagedQueues()
Determine if the application is using Laravel Cloud managed queues.
Queue
queue()
Get the Laravel Cloud managed queue connection.
bool
isManagedQueue(string $queue)
Determine if the given queue is managed by Laravel Cloud.