!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/mollie/mollie-api-php/src/Resources/   drwxr-xr-x
Free 13.1 GB of 57.97 GB (22.6%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     CursorCollection.php (2.41 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Mollie\Api\Resources;

use 
Mollie\Api\MollieApiClient;

abstract class 
CursorCollection extends BaseCollection
{
    
/**
     * @var MollieApiClient
     */
    
protected $client;

    
/**
     * @param MollieApiClient $client
     * @param int $count
     * @param \stdClass $_links
     */
    
final public function __construct(MollieApiClient $client$count$_links)
    {
        
parent::__construct($count$_links);

        
$this->client $client;
    }

    
/**
     * @return BaseResource
     */
    
abstract protected function createResourceObject();

    
/**
     * Return the next set of resources when available
     *
     * @return CursorCollection|null
     * @throws \Mollie\Api\Exceptions\ApiException
     */
    
final public function next()
    {
        if (! 
$this->hasNext()) {
            return 
null;
        }

        
$result $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET$this->_links->next->href);

        
$collection = new static($this->client$result->count$result->_links);

        foreach (
$result->_embedded->{$collection->getCollectionResourceName()} as $dataResult) {
            
$collection[] = ResourceFactory::createFromApiResult($dataResult$this->createResourceObject());
        }

        return 
$collection;
    }

    
/**
     * Return the previous set of resources when available
     *
     * @return CursorCollection|null
     * @throws \Mollie\Api\Exceptions\ApiException
     */
    
final public function previous()
    {
        if (! 
$this->hasPrevious()) {
            return 
null;
        }

        
$result $this->client->performHttpCallToFullUrl(MollieApiClient::HTTP_GET$this->_links->previous->href);

        
$collection = new static($this->client$result->count$result->_links);

        foreach (
$result->_embedded->{$collection->getCollectionResourceName()} as $dataResult) {
            
$collection[] = ResourceFactory::createFromApiResult($dataResult$this->createResourceObject());
        }

        return 
$collection;
    }

    
/**
     * Determine whether the collection has a next page available.
     *
     * @return bool
     */
    
public function hasNext()
    {
        return isset(
$this->_links->next->href);
    }

    
/**
     * Determine whether the collection has a previous page available.
     *
     * @return bool
     */
    
public function hasPrevious()
    {
        return isset(
$this->_links->previous->href);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.005 ]--