File manager - Edit - /var/www/payraty/helpdesk/public/storage/branding_media/images/Contracts.tar
Back
JobRepository.php 0000755 00000012512 00000000000 0010034 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; use Illuminate\Support\Collection; use Laravel\Horizon\JobPayload; interface JobRepository { /** * Get the next job ID that should be assigned. * * @return string */ public function nextJobId(); /** * Get the total count of recent jobs. * * @return int */ public function totalRecent(); /** * Get the total count of failed jobs. * * @return int */ public function totalFailed(); /** * Get a chunk of recent jobs. * * @param string $afterIndex * @return \Illuminate\Support\Collection */ public function getRecent($afterIndex = null); /** * Get a chunk of failed jobs. * * @param string $afterIndex * @return \Illuminate\Support\Collection */ public function getFailed($afterIndex = null); /** * Get a chunk of pending jobs. * * @param string $afterIndex * @return \Illuminate\Support\Collection */ public function getPending($afterIndex = null); /** * Get a chunk of completed jobs. * * @param string $afterIndex * @return \Illuminate\Support\Collection */ public function getCompleted($afterIndex = null); /** * Get a chunk of silenced jobs. * * @param string $afterIndex * @return \Illuminate\Support\Collection */ public function getSilenced($afterIndex = null); /** * Get the count of recent jobs. * * @return int */ public function countRecent(); /** * Get the count of failed jobs. * * @return int */ public function countFailed(); /** * Get the count of pending jobs. * * @return int */ public function countPending(); /** * Get the count of completed jobs. * * @return int */ public function countCompleted(); /** * Get the count of silenced jobs. * * @return int */ public function countSilenced(); /** * Get the count of the recently failed jobs. * * @return int */ public function countRecentlyFailed(); /** * Retrieve the jobs with the given IDs. * * @param array $ids * @param mixed $indexFrom * @return \Illuminate\Support\Collection */ public function getJobs(array $ids, $indexFrom = 0); /** * Insert the job into storage. * * @param string $connection * @param string $queue * @param \Laravel\Horizon\JobPayload $payload * @return void */ public function pushed($connection, $queue, JobPayload $payload); /** * Mark the job as reserved. * * @param string $connection * @param string $queue * @param \Laravel\Horizon\JobPayload $payload * @return void */ public function reserved($connection, $queue, JobPayload $payload); /** * Mark the job as released / pending. * * @param string $connection * @param string $queue * @param \Laravel\Horizon\JobPayload $payload * @return void */ public function released($connection, $queue, JobPayload $payload); /** * Mark the job as completed and monitored. * * @param string $connection * @param string $queue * @param \Laravel\Horizon\JobPayload $payload * @return void */ public function remember($connection, $queue, JobPayload $payload); /** * Mark the given jobs as released / pending. * * @param string $connection * @param string $queue * @param \Illuminate\Support\Collection $payloads * @return void */ public function migrated($connection, $queue, Collection $payloads); /** * Handle the storage of a completed job. * * @param \Laravel\Horizon\JobPayload $payload * @param bool $failed * @param bool $silenced * @return void */ public function completed(JobPayload $payload, $failed = false, $silenced = false); /** * Delete the given monitored jobs by IDs. * * @param array $ids * @return void */ public function deleteMonitored(array $ids); /** * Trim the recent job list. * * @return void */ public function trimRecentJobs(); /** * Trim the failed job list. * * @return void */ public function trimFailedJobs(); /** * Trim the monitored job list. * * @return void */ public function trimMonitoredJobs(); /** * Find a failed job by ID. * * @param string $id * @return \stdClass|null */ public function findFailed($id); /** * Mark the job as failed. * * @param \Exception $exception * @param string $connection * @param string $queue * @param \Laravel\Horizon\JobPayload $payload * @return void */ public function failed($exception, $connection, $queue, JobPayload $payload); /** * Store the retry job ID on the original job record. * * @param string $id * @param string $retryId * @return void */ public function storeRetryReference($id, $retryId); /** * Delete a failed job by ID. * * @param string $id * @return int */ public function deleteFailed($id); } WorkloadRepository.php 0000755 00000000304 00000000000 0011100 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; interface WorkloadRepository { /** * Get the current workload of each queue. * * @return array */ public function get(); } Restartable.php 0000755 00000000255 00000000000 0007473 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; interface Restartable { /** * Restart the process. * * @return void */ public function restart(); } Terminable.php 0000755 00000000327 00000000000 0007305 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; interface Terminable { /** * Terminate the process. * * @param int $status * @return void */ public function terminate($status = 0); } Silenced.php 0000755 00000000104 00000000000 0006742 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; interface Silenced { } MetricsRepository.php 0000755 00000005622 00000000000 0010734 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; interface MetricsRepository { /** * Get all of the class names that have metrics measurements. * * @return array */ public function measuredJobs(); /** * Get all of the queues that have metrics measurements. * * @return array */ public function measuredQueues(); /** * Get the jobs processed per minute since the last snapshot. * * @return int */ public function jobsProcessedPerMinute(); /** * Get the application's total throughput since the last snapshot. * * @return int */ public function throughput(); /** * Get the throughput for a given job. * * @param string $job * @return int */ public function throughputForJob($job); /** * Get the throughput for a given queue. * * @param string $queue * @return int */ public function throughputForQueue($queue); /** * Get the average runtime for a given job in milliseconds. * * @param string $job * @return float */ public function runtimeForJob($job); /** * Get the average runtime for a given queue in milliseconds. * * @param string $queue * @return float */ public function runtimeForQueue($queue); /** * Get the queue that has the longest runtime. * * @return int */ public function queueWithMaximumRuntime(); /** * Get the queue that has the most throughput. * * @return int */ public function queueWithMaximumThroughput(); /** * Increment the metrics information for a job. * * @param string $job * @param float|null $runtime * @return void */ public function incrementJob($job, $runtime); /** * Increment the metrics information for a queue. * * @param string $queue * @param float|null $runtime * @return void */ public function incrementQueue($queue, $runtime); /** * Get all of the snapshots for the given job. * * @param string $job * @return array */ public function snapshotsForJob($job); /** * Get all of the snapshots for the given queue. * * @param string $queue * @return array */ public function snapshotsForQueue($queue); /** * Store a snapshot of the metrics information. * * @return void */ public function snapshot(); /** * Attempt to acquire a lock to monitor the queue wait times. * * @return bool */ public function acquireWaitTimeMonitorLock(); /** * Clear the metrics for a key. * * @param string $key * @return void */ public function forget($key); /** * Delete all stored metrics information. * * @return void */ public function clear(); } HorizonCommandQueue.php 0000755 00000001202 00000000000 0011150 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; interface HorizonCommandQueue { /** * Push a command onto a queue. * * @param string $name * @param string $command * @param array $options * @return void */ public function push($name, $command, array $options = []); /** * Get the pending commands for a given queue name. * * @param string $name * @return array */ public function pending($name); /** * Flush the command queue for a given queue name. * * @param string $name * @return void */ public function flush($name); } ProcessRepository.php 0000755 00000001666 00000000000 0010750 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; interface ProcessRepository { /** * Get all of the orphan process IDs and the times they were observed. * * @param string $master * @return array */ public function allOrphans($master); /** * Record the given process IDs as orphaned. * * @param string $master * @param array $processIds * @return array */ public function orphaned($master, array $processIds); /** * Get the process IDs orphaned for at least the given number of seconds. * * @param string $master * @param int $seconds * @return array */ public function orphanedFor($master, $seconds); /** * Remove the given process IDs from the orphan list. * * @param string $master * @param array $processIds * @return void */ public function forgetOrphans($master, array $processIds); } SupervisorRepository.php 0000755 00000002514 00000000000 0011504 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; use Laravel\Horizon\Supervisor; interface SupervisorRepository { /** * Get the names of all the supervisors currently running. * * @return array */ public function names(); /** * Get information on all of the supervisors. * * @return array */ public function all(); /** * Get information on a supervisor by name. * * @param string $name * @return array */ public function find($name); /** * Get information on the given supervisors. * * @param array $names * @return array */ public function get(array $names); /** * Get the longest active timeout setting for a supervisor. * * @return int */ public function longestActiveTimeout(); /** * Update the information about the given supervisor process. * * @param \Laravel\Horizon\Supervisor $supervisor * @return void */ public function update(Supervisor $supervisor); /** * Remove the supervisor information from storage. * * @param array|string $names * @return void */ public function forget($names); /** * Remove expired supervisors from storage. * * @return void */ public function flushExpired(); } TagRepository.php 0000755 00000003366 00000000000 0010044 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; interface TagRepository { /** * Get the currently monitored tags. * * @return array */ public function monitoring(); /** * Return the tags which are being monitored. * * @param array $tags * @return array */ public function monitored(array $tags); /** * Start monitoring the given tag. * * @param string $tag * @return void */ public function monitor($tag); /** * Stop monitoring the given tag. * * @param string $tag * @return void */ public function stopMonitoring($tag); /** * Store the tags for the given job. * * @param string $id * @param array $tags * @return void */ public function add($id, array $tags); /** * Store the tags for the given job temporarily. * * @param int $minutes * @param string $id * @param array $tags * @return void */ public function addTemporary($minutes, $id, array $tags); /** * Get the number of jobs matching a given tag. * * @param string $tag * @return int */ public function count($tag); /** * Get all of the job IDs for a given tag. * * @param string $tag * @return array */ public function jobs($tag); /** * Paginate the job IDs for a given tag. * * @param string $tag * @param int $startingAt * @param int $limit * @return array */ public function paginate($tag, $startingAt = 0, $limit = 25); /** * Delete the given tag from storage. * * @param string $tag * @return void */ public function forget($tag); } Pausable.php 0000755 00000000443 00000000000 0006756 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; interface Pausable { /** * Pause the process. * * @return void */ public function pause(); /** * Instruct the process to continue working. * * @return void */ public function continue(); } MasterSupervisorRepository.php 0000755 00000002346 00000000000 0012663 0 ustar 00 <?php namespace Laravel\Horizon\Contracts; use Laravel\Horizon\MasterSupervisor; interface MasterSupervisorRepository { /** * Get the names of all the master supervisors currently running. * * @return array */ public function names(); /** * Get information on all of the master supervisors. * * @return array */ public function all(); /** * Get information on a master supervisor by name. * * @param string $name * @return array */ public function find($name); /** * Get information on the given master supervisors. * * @param array $names * @return array */ public function get(array $names); /** * Update the information about the given master supervisor. * * @param \Laravel\Horizon\MasterSupervisor $master * @return void */ public function update(MasterSupervisor $master); /** * Remove the master supervisor information from storage. * * @param string $name * @return void */ public function forget($name); /** * Remove expired master supervisors from storage. * * @return void */ public function flushExpired(); } Provider.php 0000755 00000000705 00000000000 0007015 0 ustar 00 <?php namespace Laravel\Socialite\Contracts; interface Provider { /** * Redirect the user to the authentication page for the provider. * * @return \Symfony\Component\HttpFoundation\RedirectResponse|\Illuminate\Http\RedirectResponse */ public function redirect(); /** * Get the User instance for the authenticated user. * * @return \Laravel\Socialite\Contracts\User */ public function user(); } User.php 0000755 00000001274 00000000000 0006143 0 ustar 00 <?php namespace Laravel\Socialite\Contracts; interface User { /** * Get the unique identifier for the user. * * @return string */ public function getId(); /** * Get the nickname / username for the user. * * @return string|null */ public function getNickname(); /** * Get the full name of the user. * * @return string|null */ public function getName(); /** * Get the e-mail address of the user. * * @return string|null */ public function getEmail(); /** * Get the avatar / image URL for the user. * * @return string|null */ public function getAvatar(); } Factory.php 0000755 00000000411 00000000000 0006624 0 ustar 00 <?php namespace Laravel\Socialite\Contracts; interface Factory { /** * Get an OAuth provider implementation. * * @param string $driver * @return \Laravel\Socialite\Contracts\Provider */ public function driver($driver = null); }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings