repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
upyun/php-sdk | https://github.com/upyun/php-sdk/blob/c9f824626552c32b987de4ac7f136e0e21cca962/examples/client-upload/policy.php | examples/client-upload/policy.php | <?php
require __DIR__ . '/../../tests/bootstrap.php';
use Upyun\Config;
use Upyun\Signature;
use Upyun\Util;
$config = new Config(BUCKET, USER_NAME, PWD);
$config->setFormApiKey('Mv83tlocuzkmfKKUFbz2s04FzTw=');
$data['save-key'] = $_GET['save_path'];
$data['expiration'] = time() + 120;
$data['bucket'] = BUCKET;
$po... | php | MIT | c9f824626552c32b987de4ac7f136e0e21cca962 | 2026-01-05T03:48:24.554948Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/functions-images.php | functions-images.php | <?php
use Timmy\Timmy;
use Timmy\Helper;
/**
* Frontend functions for Timmy.
*/
/**
* Returns the src attr together with optional alt and title attributes for a TimberImage.
*
* @param int|Timber\Image $timber_image Instance of TimberImage or Attachment ID.
* @param string|array $size The size whic... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-image-texts.php | tests/test-image-texts.php | <?php
use Timber\Image;
use Timber\Timber;
class TestImageTexts extends TimmyUnitTestCase {
public function test_get_timber_image_texts() {
$attachment = $this->create_image();
$alt_text = 'A marvellous doggo';
$description = 'This will be the title';
$result = get_timber_image_texts( $attachment, '... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/TimmyUnitTestCase.php | tests/TimmyUnitTestCase.php | <?php
use Timber\Timber;
/**
* Class TimmyUnitTestCase
*/
abstract class TimmyUnitTestCase extends WP_UnitTestCase {
/**
* Maintain a list of action/filter hook removals to perform at the end of each test.
*/
private $temporary_hook_removals = [];
public function tear_down() {
parent::tear_down();
// R... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-picture.php | tests/test-picture.php | <?php
use Timmy\Timmy;
class TestPicture extends TimmyUnitTestCase {
public function test_picture() {
$alt_text = 'Burrito Wrap';
$attachment = $this->create_image( [
'alt' => $alt_text,
'description' => 'Burritolino',
] );
$result = get_timber_picture_responsive( $attachment, 'picture' )... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-responsive-content-images.php | tests/test-responsive-content-images.php | <?php
use Timmy\Timmy;
class TestResponsiveContentImages extends TimmyUnitTestCase {
public function test_classic_image() {
$image = $this->create_image();
$rci = Timmy::responsive_content_images();
$content = sprintf(
'<p><img class="alignnone size-responsive-content-image wp-image-%2$s" src="%1$s/test-... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-color-scheme-dark.php | tests/test-color-scheme-dark.php | <?php
use Timmy\Timmy;
class TestColorSchemeDark extends TimmyUnitTestCase {
public function test_picture() {
$attachment = $this->create_image( [
'alt' => 'Burrito Wrap',
'description' => 'Burritolino',
] );
$attachment_dark = $this->create_image( [
'file' => 'test-color-scheme-dark.jpg',
... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-webp.php | tests/test-webp.php | <?php
use Timmy\Timmy;
class TestWebP extends TimmyUnitTestCase {
public function test_webp() {
$attachment = $this->create_image();
$image = wp_get_attachment_image_src( $attachment->ID, 'webp' );
$file_path = $this->get_upload_path() . '/test-1400x0-c-default.webp';
$this->assertEquals( $this->get_up... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-functions.php | tests/test-functions.php | <?php
use Timmy\Timmy;
class TestFunctions extends TimmyUnitTestCase {
public function test_get_timber_image_src() {
$attachment = $this->create_image();
$result = get_timber_image_src( $attachment, 'large' );
$image = $this->get_upload_url() . '/test-1400x0-c-default.jpg';
$this->assertEquals( $image,... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-timmy.php | tests/test-timmy.php | <?php
use Timber\ImageHelper;
use Timber\Timber;
/**
* Class TestTimmy
*/
class TestTimmy extends TimmyUnitTestCase {
public function test_create_image() {
$attachment = $this->create_image();
$src = Timber::compile_string( '{{ img.src }}', [ 'img' => $attachment ] );
$path = ImageHelper::get_server_locati... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-upscale.php | tests/test-upscale.php | <?php
class TestUpscale extends TimmyUnitTestCase {
/**
* Tests whether upscaled image file is not created.
*/
public function test_timmy_do_not_upscale_images() {
$attachment = $this->create_image( [
'file' => 'test-200px.jpg',
] );
image_downsize( $attachment->ID, 'large' );
$file_path = $this->get... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-acf.php | tests/test-acf.php | <?php
use Timber\ImageHelper;
class TestAcf extends TimmyUnitTestCase {
function set_up() {
parent::set_up();
require_once __DIR__ . '/assets/acf-image-field.php';
}
function test_get_timber_image_responsive_acf() {
$post_id = $this->factory->post->create();
$attachment_id = $this->create_image_att... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/bootstrap.php | tests/bootstrap.php | <?php
use Timmy\Timmy;
require_once dirname(__DIR__) . '/vendor/autoload.php';
require_once dirname(__DIR__) . '/vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php';
$_tests_dir = getenv('WP_TESTS_DIR') ? getenv('WP_TESTS_DIR') : rtrim(sys_get_temp_dir(), '/\\') . '/wordpress-tests-lib';
if (!is_file("{$_... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/timmy-sizes.php | tests/timmy-sizes.php | <?php
// Reset thumbs sizes
set_post_thumbnail_size( 0, 0 );
add_image_size( 'thumbnail', 0, 0 );
add_image_size( 'medium', 0, 0 );
add_image_size( 'medium_large', 0, 0 );
add_image_size( 'large', 0, 0 );
/**
* Image sizes for testing Timmy.
*
* @return array Array containing all image sizes used on a page.
*/
ad... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-rest.php | tests/test-rest.php | <?php
use Timmy\Helper;
class TestRest extends TimmyUnitTestCase {
function test_show_in_rest_embedded()
{
add_post_type_support( 'page', 'thumbnail' );
$post_id = self::factory()->post->create([
'post_type' => 'page',
]);
$attachment_id = $this->create_image_attachment( $post_id );
//... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-svg.php | tests/test-svg.php | <?php
class TestSvg extends TimmyUnitTestCase {
/**
* Tests whether we get the full src of an SVG with size full.
*
* @since 0.14.4
*/
public function test_get_timber_image_full_with_svg() {
$attachment = $this->create_image( [ 'file' => 'sveegee.svg' ] );
$result = get_timber_image( $attachment, 'fu... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/test-filters.php | tests/test-filters.php | <?php
class TestFilters extends TimmyUnitTestCase {
public function test_use_src_fallback_disable() {
$this->add_filter_temporarily( 'timmy/use_src_default', '__return_false' );
$attachment = $this->create_image();
$result = get_timber_image_responsive( $attachment, 'large' );
$expected = sprintf(
' ... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/tests/assets/acf-image-field.php | tests/assets/acf-image-field.php | <?php
if ( function_exists( 'acf_add_local_field_group' ) ):
acf_add_local_field_group( [
'key' => 'group_5ee13f982e210',
'title' => 'Image Test',
'fields' => [
[
'key' => 'field_5ee13f9dcdb6d',
'label' => 'Image',
'name' ... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/lib/Helper.php | lib/Helper.php | <?php
namespace Timmy;
/**
* Class Helper
*
* @package Timmy
*/
class Helper {
/**
* Image configuration cache.
*
* @var array|null Image configuration array.
*/
public static $sizes = null;
/**
* Get image size configuration.
*
* Try first to get image sizes from cache. If the cache is not set,... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/lib/Image.php | lib/Image.php | <?php
namespace Timmy;
/**
* Class Image
*
* @since 1.0.0
*/
class Image {
/**
* Image ID.
*
* @var int
*/
public $id;
/**
* Image size configuration array.
*
* @var array
*/
protected $size;
/**
* Image size configuration key.
*
* @var string
*/
protected $size_key;
protected $f... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/lib/Timmy.php | lib/Timmy.php | <?php
namespace Timmy;
use Timber;
use WP_Post;
use WP_REST_Response;
/**
* Class Timmy
*
* @package Timmy
*/
class Timmy {
/**
* Minimum required WordPress version.
*/
const MINIMUM_WP_VERSION = '6.5.0';
/**
* Image sizes that can be selected in the backend.
*
* @var array
*/
public $image_size... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | true |
mindkomm/timmy | https://github.com/mindkomm/timmy/blob/46ff8f56269a2ac5cde945bead08a2e1b95343ee/lib/Responsive_Content_Images.php | lib/Responsive_Content_Images.php | <?php
namespace Timmy;
/**
* Class Responsive_Content_Images
*/
class Responsive_Content_Images {
/**
* Args.
*
* @var array
*/
protected $args;
final protected function __construct() {}
/**
* Set args.
*
* @since 1.0.0
* @see Timmy::responsive_content_images()
*
* @param array $args Optio... | php | MIT | 46ff8f56269a2ac5cde945bead08a2e1b95343ee | 2026-01-05T03:48:40.357720Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Collection.php | Collection.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder;
use Geocoder\Exception\CollectionIsEmpty;
use Geocoder\... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/StatefulGeocoder.php | StatefulGeocoder.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder;
use Geocoder\Model\Bounds;
use Geocoder\Provider\Provid... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/GeocoderTrait.php | GeocoderTrait.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder;
use Geocoder\Query\GeocodeQuery;
use Geocoder\Query\Rev... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Geocoder.php | Geocoder.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder;
use Geocoder\Provider\Provider;
/**
* @author William... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Location.php | Location.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder;
use Geocoder\Model\AdminLevelCollection;
use Geocoder\M... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/TimedGeocoder.php | TimedGeocoder.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder;
use Geocoder\Provider\Provider;
use Geocoder\Query\Geoc... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/ProviderAggregator.php | ProviderAggregator.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder;
use Geocoder\Exception\ProviderNotRegistered;
use Geoco... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Assert.php | Assert.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder;
use Geocoder\Exception\InvalidArgument;
class Assert
{... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Model/Address.php | Model/Address.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Model;
use Geocoder\Location;
/**
* @author William Du... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Model/Bounds.php | Model/Bounds.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Model;
use Geocoder\Assert;
/**
* @author William Dura... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Model/AdminLevelCollection.php | Model/AdminLevelCollection.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Model;
use Geocoder\Exception\CollectionIsEmpty;
use Geo... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Model/AdminLevel.php | Model/AdminLevel.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Model;
/**
* @author William Durand <william.durand1@gm... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Model/AddressCollection.php | Model/AddressCollection.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Model;
use Geocoder\Collection;
use Geocoder\Exception\C... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Model/AddressBuilder.php | Model/AddressBuilder.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Model;
use Geocoder\Exception\InvalidArgument;
use Geoco... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Model/Country.php | Model/Country.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Model;
use Geocoder\Exception\InvalidArgument;
/**
* A... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Model/Coordinates.php | Model/Coordinates.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Model;
use Geocoder\Assert;
/**
* @author William Dura... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Formatter/StringFormatter.php | Formatter/StringFormatter.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Formatter;
use Geocoder\Location;
use Geocoder\Model\Adm... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Query/GeocodeQuery.php | Query/GeocodeQuery.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Query;
use Geocoder\Exception\InvalidArgument;
use Geoco... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Query/Query.php | Query/Query.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Query;
/**
* @author Tobias Nyholm <tobias.nyholm@gmail... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Query/ReverseQuery.php | Query/ReverseQuery.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Query;
use Geocoder\Geocoder;
use Geocoder\Model\Coordin... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/ExtensionNotLoaded.php | Exception/ExtensionNotLoaded.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* When a required PHP extension is missi... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/CollectionIsEmpty.php | Exception/CollectionIsEmpty.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* When you are trying to access an eleme... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/OutOfBounds.php | Exception/OutOfBounds.php | <?php
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
final class ... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/FunctionNotFound.php | Exception/FunctionNotFound.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* @author William Durand <william.durand... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/Exception.php | Exception/Exception.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* @author William Durand <william.durand... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/InvalidCredentials.php | Exception/InvalidCredentials.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* Thrown when the Provider API declines ... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/ProviderNotRegistered.php | Exception/ProviderNotRegistered.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* @author William Durand <william.durand... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/QuotaExceeded.php | Exception/QuotaExceeded.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* Thrown when you no longer may access t... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/UnsupportedOperation.php | Exception/UnsupportedOperation.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* Thrown when you are trying to use a Pr... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/InvalidArgument.php | Exception/InvalidArgument.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* @author William Durand <william.durand... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/LogicException.php | Exception/LogicException.php | <?php
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
final class ... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Exception/InvalidServerResponse.php | Exception/InvalidServerResponse.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Exception;
/**
* When the geocoder server returns somet... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Dumper/Dumper.php | Dumper/Dumper.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Dumper;
use Geocoder\Location;
/**
* @author William D... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Dumper/GeoArray.php | Dumper/GeoArray.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Dumper;
use Geocoder\Location;
/**
* @author Tomas Nor... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Dumper/AbstractArrayDumper.php | Dumper/AbstractArrayDumper.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Dumper;
use Geocoder\Location;
/**
* @author Tomas Nor... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Dumper/Wkt.php | Dumper/Wkt.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Dumper;
use Geocoder\Location;
/**
* @author Jan Sorga... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Dumper/Kml.php | Dumper/Kml.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Dumper;
use Geocoder\Location;
/**
* @author Jan Sorga... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Dumper/Wkb.php | Dumper/Wkb.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Dumper;
use Geocoder\Location;
/**
* @author Jan Sorga... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Dumper/AbstractDumper.php | Dumper/AbstractDumper.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Dumper;
use Geocoder\Location;
abstract class AbstractD... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Dumper/GeoJson.php | Dumper/GeoJson.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Dumper;
use Geocoder\Location;
/**
* @author Jan Sorga... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Dumper/Gpx.php | Dumper/Gpx.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Dumper;
use Geocoder\Geocoder;
use Geocoder\Location;
/... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/TimedGeocoderTest.php | Tests/TimedGeocoderTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests;
use Geocoder\Model\AddressCollection;
use Geocode... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/ProviderAggregatorTest.php | Tests/ProviderAggregatorTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests;
use Geocoder\Collection;
use Geocoder\Model\Addre... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Model/AddressCollectionTest.php | Tests/Model/AddressCollectionTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests\Model;
use Geocoder\Model\AddressCollection;
use P... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Model/AddressTest.php | Tests/Model/AddressTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests\Model;
use Geocoder\Model\Address;
use Geocoder\Mo... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Formatter/StringFormatterTest.php | Tests/Formatter/StringFormatterTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests\Formatter;
use Geocoder\Formatter\StringFormatter;... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Query/GeocodeQueryTest.php | Tests/Query/GeocodeQueryTest.php | <?php
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests;
use Geocoder\Query\GeocodeQuery;
use PHPUnit\Framework\TestCase;
/**
* @a... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Query/ReverseQueryTest.php | Tests/Query/ReverseQueryTest.php | <?php
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests;
use Geocoder\Query\ReverseQuery;
use PHPUnit\Framework\TestCase;
/**
* @a... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Dumper/WktTest.php | Tests/Dumper/WktTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests\Dumper;
use Geocoder\Dumper\Wkt;
use Geocoder\Mode... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Dumper/KmlTest.php | Tests/Dumper/KmlTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests\Dumper;
use Geocoder\Dumper\Kml;
use Geocoder\Mode... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Dumper/GeoJsonTest.php | Tests/Dumper/GeoJsonTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests\Dumper;
use Geocoder\Dumper\GeoJson;
use Geocoder\... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Dumper/GeoArrayTest.php | Tests/Dumper/GeoArrayTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests\Dumper;
use Geocoder\Dumper\GeoArray;
use Geocoder... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Dumper/GpxTest.php | Tests/Dumper/GpxTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests\Dumper;
use Geocoder\Dumper\Gpx;
use Geocoder\Geoc... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Tests/Dumper/WkbTest.php | Tests/Dumper/WkbTest.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Tests\Dumper;
use Geocoder\Dumper\Wkb;
use Geocoder\Mode... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Provider/Provider.php | Provider/Provider.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Provider;
use Geocoder\Collection;
use Geocoder\Query\Ge... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
geocoder-php/php-common | https://github.com/geocoder-php/php-common/blob/2f231f0a3394e4bc1aa834c37a907732848c3903/Provider/AbstractProvider.php | Provider/AbstractProvider.php | <?php
declare(strict_types=1);
/*
* This file is part of the Geocoder package.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @license MIT License
*/
namespace Geocoder\Provider;
use Geocoder\Location;
use Geocoder\Model\Addr... | php | MIT | 2f231f0a3394e4bc1aa834c37a907732848c3903 | 2026-01-05T03:48:43.225398Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Process.php | src/Process.php | <?php
namespace Icicle\Concurrent;
interface Process extends Context
{
/**
* @return int PID of process.
*/
public function getPid(): int;
/**
* @param int $signo
*
* @throws \Icicle\Concurrent\Exception\StatusError
*/
public function signal(int $signo);
}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Context.php | src/Context.php | <?php
namespace Icicle\Concurrent;
interface Context
{
/**
* @return bool
*/
public function isRunning(): bool;
/**
* Starts the execution context.
*/
public function start();
/**
* Immediately kills the context.
*/
public function kill();
/**
* @corout... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Strand.php | src/Strand.php | <?php
namespace Icicle\Concurrent;
interface Strand extends Context, Sync\Channel {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Process/Process.php | src/Process/Process.php | <?php
namespace Icicle\Concurrent\Process;
use Icicle\Awaitable\Delayed;
use Icicle\Concurrent\Exception\{ProcessException, StatusError};
use Icicle\Concurrent\Process as ProcessContext;
use Icicle\Loop;
use Icicle\Stream\Pipe\{ReadablePipe, WritablePipe};
use Icicle\Stream\{ReadableStream, WritableStream};
class Pro... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Process/ChannelledProcess.php | src/Process/ChannelledProcess.php | <?php
namespace Icicle\Concurrent\Process;
use Icicle\Concurrent\Exception\{StatusError, SynchronizationError};
use Icicle\Concurrent\{Process as ProcessContext, Strand};
use Icicle\Concurrent\Sync\{ChannelledStream, Internal\ExitStatus};
use Icicle\Exception\InvalidArgumentError;
class ChannelledProcess implements P... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/WorkerProcess.php | src/Worker/WorkerProcess.php | <?php
namespace Icicle\Concurrent\Worker;
use Icicle\Concurrent\Process\ChannelledProcess;
/**
* A worker thread that executes task objects.
*/
class WorkerProcess extends AbstractWorker
{
public function __construct()
{
$dir = dirname(dirname(__DIR__)) . '/bin';
parent::__construct(new Chan... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/Pool.php | src/Worker/Pool.php | <?php
namespace Icicle\Concurrent\Worker;
/**
* An interface for worker pools.
*/
interface Pool extends Worker
{
/**
* @var int The default minimum pool size.
*/
const DEFAULT_MIN_SIZE = 4;
/**
* @var int The default maximum pool size.
*/
const DEFAULT_MAX_SIZE = 32;
/**
... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/BasicEnvironment.php | src/Worker/BasicEnvironment.php | <?php
namespace Icicle\Concurrent\Worker;
use Icicle\Loop;
class BasicEnvironment implements Environment
{
/**
* @var array
*/
private $data = [];
/**
* @var array
*/
private $ttl = [];
/**
* @var array
*/
private $expire = [];
/**
* @var \SplPriorityQ... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/Environment.php | src/Worker/Environment.php | <?php
namespace Icicle\Concurrent\Worker;
use Icicle\Loop;
interface Environment extends \ArrayAccess, \Countable
{
/**
* @param string $key
*
* @return bool
*/
public function exists(string $key);
/**
* @param string $key
*
* @return mixed|null Returns null if the key ... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/WorkerThread.php | src/Worker/WorkerThread.php | <?php
namespace Icicle\Concurrent\Worker;
use Icicle\Concurrent\Threading\Thread;
use Icicle\Concurrent\Worker\Internal\TaskRunner;
/**
* A worker thread that executes task objects.
*/
class WorkerThread extends AbstractWorker
{
public function __construct()
{
parent::__construct(new Thread(function... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/WorkerFactory.php | src/Worker/WorkerFactory.php | <?php
namespace Icicle\Concurrent\Worker;
/**
* Interface for factories used to create new workers.
*/
interface WorkerFactory
{
/**
* Creates a new worker instance.
*
* @return Worker The newly created worker.
*/
public function create(): Worker;
}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/functions.php | src/Worker/functions.php | <?php
namespace Icicle\Concurrent\Worker;
if (!function_exists(__NAMESPACE__ . '\pool')) {
/**
* Returns the global worker pool for the current context.
*
* @param \Icicle\Concurrent\Worker\Pool|null $pool A worker pool instance.
*
* @return \Icicle\Concurrent\Worker\Pool The global worker... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/AbstractWorker.php | src/Worker/AbstractWorker.php | <?php
namespace Icicle\Concurrent\Worker;
use Icicle\Awaitable\Delayed;
use Icicle\Concurrent\Strand;
use Icicle\Concurrent\Exception\{StatusError, WorkerException};
use Icicle\Concurrent\Worker\Internal\TaskFailure;
use Icicle\Coroutine\Coroutine;
/**
* Base class for most common types of task workers.
*/
abstract... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/WorkerFork.php | src/Worker/WorkerFork.php | <?php
namespace Icicle\Concurrent\Worker;
use Icicle\Concurrent\Forking\Fork;
use Icicle\Concurrent\Worker\Internal\TaskRunner;
/**
* A worker thread that executes task objects.
*/
class WorkerFork extends AbstractWorker
{
public function __construct()
{
parent::__construct(new Fork(function (): \Ge... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/DefaultWorkerFactory.php | src/Worker/DefaultWorkerFactory.php | <?php
namespace Icicle\Concurrent\Worker;
use Icicle\Concurrent\{Forking\Fork, Threading\Thread};
/**
* The built-in worker factory type.
*/
class DefaultWorkerFactory implements WorkerFactory
{
/**
* {@inheritdoc}
*
* The type of worker created depends on the extensions available. If multi-threa... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/Worker.php | src/Worker/Worker.php | <?php
namespace Icicle\Concurrent\Worker;
/**
* An interface for a parallel worker thread that runs a queue of tasks.
*/
interface Worker
{
/**
* Checks if the worker is running.
*
* @return bool True if the worker is running, otherwise false.
*/
public function isRunning(): bool;
/*... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/DefaultPool.php | src/Worker/DefaultPool.php | <?php
namespace Icicle\Concurrent\Worker;
use Icicle\Awaitable;
use Icicle\Exception\InvalidArgumentError;
use Icicle\Concurrent\Exception\StatusError;
use Icicle\Coroutine\Coroutine;
/**
* Provides a pool of workers that can be used to execute multiple tasks asynchronously.
*
* A worker pool is a collection of wo... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/Task.php | src/Worker/Task.php | <?php
namespace Icicle\Concurrent\Worker;
/**
* A runnable unit of execution.
*/
interface Task
{
/**
* @coroutine
*
* Runs the task inside the caller's context.
*
* Does not have to be a coroutine, can also be a regular function returning a value.
*
* @param \Icicle\Concurrent... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/Internal/TaskRunner.php | src/Worker/Internal/TaskRunner.php | <?php
namespace Icicle\Concurrent\Worker\Internal;
use Icicle\Concurrent\Sync\Channel;
use Icicle\Concurrent\Worker\Environment;
use Icicle\Concurrent\Worker\Task;
class TaskRunner
{
/**
* @var bool
*/
private $idle = true;
/**
* @var \Icicle\Concurrent\Sync\Channel
*/
private $ch... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/Internal/TaskFailure.php | src/Worker/Internal/TaskFailure.php | <?php
namespace Icicle\Concurrent\Worker\Internal;
use Icicle\Concurrent\Exception\TaskException;
class TaskFailure
{
/**
* @var string
*/
private $type;
/**
* @var string
*/
private $message;
/**
* @var int
*/
private $code;
/**
* @var array
*/
... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Worker/Internal/PooledWorker.php | src/Worker/Internal/PooledWorker.php | <?php
namespace Icicle\Concurrent\Worker\Internal;
use Icicle\Concurrent\Worker\Task;
use Icicle\Concurrent\Worker\Worker;
class PooledWorker implements Worker
{
/**
* @var callable
*/
private $push;
/**
* @var \Icicle\Concurrent\Worker\Worker
*/
private $worker;
/**
* @... | php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
icicleio/concurrent | https://github.com/icicleio/concurrent/blob/74e9e76fe6ac64418e23ab0e86bab13c6969f4a7/src/Exception/ProcessException.php | src/Exception/ProcessException.php | <?php
namespace Icicle\Concurrent\Exception;
class ProcessException extends \Exception implements Exception {}
| php | MIT | 74e9e76fe6ac64418e23ab0e86bab13c6969f4a7 | 2026-01-05T03:48:48.901289Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.