/home/techb158/ileadtechnology.com/vendor/ankitpokhrel/tus-php/src/Tus
NameSizeModeActions
AbstractTus.php26890644editdlrm
Client.php165050644editdlrm
Server.php221570644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/ankitpokhrel/tus-php/src/Tus/AbstractTus.php (2689B)
cache = CacheFactory::make($cache); } elseif ($cache instanceof Cacheable) { $this->cache = $cache; } $prefix = 'tus:' . strtolower((new \ReflectionClass(static::class))->getShortName()) . ':'; $this->cache->setPrefix($prefix); return $this; } /** * Get cache. * * @return Cacheable */ public function getCache(): Cacheable { return $this->cache; } /** * Set API path. * * @param string $path * * @return self */ public function setApiPath(string $path): self { $this->apiPath = $path; return $this; } /** * Get API path. * * @return string */ public function getApiPath(): string { return $this->apiPath; } /** * Set and get event dispatcher. * * @return EventDispatcherInterface */ public function event(): EventDispatcherInterface { if ( ! $this->dispatcher) { $this->dispatcher = new EventDispatcher(); } return $this->dispatcher; } /** * Set event dispatcher. * * @param EventDispatcherInterface $dispatcher * * @return self */ public function setDispatcher(EventDispatcherInterface $dispatcher): self { $this->dispatcher = $dispatcher; return $this; } }