text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20180211192448 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('CREATE TABL... | /content/code_sandbox/backend/src/Entity/Migration/Version20180211192448.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 247 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20161117000718 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): ... | /content/code_sandbox/backend/src/Entity/Migration/Version20161117000718.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 522 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20180320061801 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE... | /content/code_sandbox/backend/src/Entity/Migration/Version20180320061801.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 131 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20180506022642 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('DROP INDEX ... | /content/code_sandbox/backend/src/Entity/Migration/Version20180506022642.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 120 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20170512094523 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): ... | /content/code_sandbox/backend/src/Entity/Migration/Version20170512094523.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 179 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use App\Entity\Attributes\StableMigration;
use Doctrine\DBAL\Schema\Schema;
#[
StableMigration('0.19.4'),
StableMigration('0.19.5')
]
final class Version20231125215905 extends AbstractMigration
{
public function getDescription(): stri... | /content/code_sandbox/backend/src/Entity/Migration/Version20231125215905.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 293 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20210620131126 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add "max_listener_duration" to station_mounts table.';
}
public function up... | /content/code_sandbox/backend/src/Entity/Migration/Version20210620131126.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 129 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20190124132556 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE... | /content/code_sandbox/backend/src/Entity/Migration/Version20190124132556.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 119 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20180320163622 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE... | /content/code_sandbox/backend/src/Entity/Migration/Version20180320163622.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 218 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210721011736 extends AbstractMigration
{
public function getDescription(): string
{
return 'Retire Message Que... | /content/code_sandbox/backend/src/Entity/Migration/Version20210721011736.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 329 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20170719045113 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): ... | /content/code_sandbox/backend/src/Entity/Migration/Version20170719045113.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 201 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20161120032434 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): ... | /content/code_sandbox/backend/src/Entity/Migration/Version20161120032434.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 139 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20170516214120 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): ... | /content/code_sandbox/backend/src/Entity/Migration/Version20170516214120.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 168 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20180206105454 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('CREATE TABL... | /content/code_sandbox/backend/src/Entity/Migration/Version20180206105454.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 208 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20201222063647 extends AbstractMigration
{
public function getDescription(): string
{
return 'Create a table for tracking unprocessed media.';
}
public function up(Schem... | /content/code_sandbox/backend/src/Entity/Migration/Version20201222063647.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 254 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20240619130956 extends AbstractMigration
{
public function getDescription(): string
{
return 'Migrate media metadata to an expandable field, pt. 1';
}
public function up... | /content/code_sandbox/backend/src/Entity/Migration/Version20240619130956.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 296 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20220421123900 extends AbstractMigration
{
public function getDescription(): string
{
return 'Fix nullability of extended Listener columns.';
}
public function up(Schema... | /content/code_sandbox/backend/src/Entity/Migration/Version20220421123900.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 164 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Add reactivate_at to station_streamers table
*/
final class Version20181025232600 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE station A... | /content/code_sandbox/backend/src/Entity/Migration/Version20181025232600.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 154 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200402212036 extends AbstractMigration
{
public function getDescription(): string
{
return 'Make SongHistory-t... | /content/code_sandbox/backend/src/Entity/Migration/Version20200402212036.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 193 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20190315002523 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE... | /content/code_sandbox/backend/src/Entity/Migration/Version20190315002523.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 121 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200310204315 extends AbstractMigration
{
public function getDescription(): string
{
return 'Track the current ... | /content/code_sandbox/backend/src/Entity/Migration/Version20200310204315.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 255 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200130094654 extends AbstractMigration
{
public function getDescription(): string
{
return 'Create station_pla... | /content/code_sandbox/backend/src/Entity/Migration/Version20200130094654.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 284 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20240421094525 extends AbstractMigration
{
public function getDescription(): string
{
return 'Expand podcast database fields.';
}
public function up(Schema $schema): voi... | /content/code_sandbox/backend/src/Entity/Migration/Version20240421094525.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 164 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20170510085226 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): ... | /content/code_sandbox/backend/src/Entity/Migration/Version20170510085226.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 236 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20161007021719 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): ... | /content/code_sandbox/backend/src/Entity/Migration/Version20161007021719.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 135 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20180320070100 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE... | /content/code_sandbox/backend/src/Entity/Migration/Version20180320070100.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 115 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20240519163701 extends AbstractMigration
{
public function getDescription(): string
{
return 'Expand media field lengths.';
}
public function up(Schema $schema): void
... | /content/code_sandbox/backend/src/Entity/Migration/Version20240519163701.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 331 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20220221225704 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add indices to sta... | /content/code_sandbox/backend/src/Entity/Migration/Version20220221225704.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 222 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
use const PASSWORD_ARGON2ID;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200129010322 extends AbstractMigration
{
public function getDescription(): string
{
... | /content/code_sandbox/backend/src/Entity/Migration/Version20200129010322.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 496 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20171104014701 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): ... | /content/code_sandbox/backend/src/Entity/Migration/Version20171104014701.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 225 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200604075356 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add per-playlist "... | /content/code_sandbox/backend/src/Entity/Migration/Version20200604075356.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 178 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use App\Entity\Attributes\StableMigration;
use Doctrine\DBAL\Schema\Schema;
#[StableMigration('0.17.2')]
final class Version20220626171758 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add HLS stre... | /content/code_sandbox/backend/src/Entity/Migration/Version20220626171758.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 268 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20190326051220 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE... | /content/code_sandbox/backend/src/Entity/Migration/Version20190326051220.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 157 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20210801020848 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add intro file support to station mounts.';
}
public function up(Schema $sc... | /content/code_sandbox/backend/src/Entity/Migration/Version20210801020848.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 126 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210512225946 extends AbstractMigration
{
public function getDescription(): string
{
return 'Initial Podcast ta... | /content/code_sandbox/backend/src/Entity/Migration/Version20210512225946.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,341 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20170917175534 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): ... | /content/code_sandbox/backend/src/Entity/Migration/Version20170917175534.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 157 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20170829030442 extends AbstractMigration
{
/**
* @param Schema $schema
*/
public function up(Schema $schema): ... | /content/code_sandbox/backend/src/Entity/Migration/Version20170829030442.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 981 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200217114139 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add ability to lim... | /content/code_sandbox/backend/src/Entity/Migration/Version20200217114139.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 146 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20201003021913 extends AbstractMigration
{
public function getDescription(): string
{
return 'Songs denormalizat... | /content/code_sandbox/backend/src/Entity/Migration/Version20201003021913.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 508 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20220406121125 extends AbstractMigration
{
public function getDescription(): string
{
return 'Reduce size and improve performance of StationQueue table.';
}
public funct... | /content/code_sandbox/backend/src/Entity/Migration/Version20220406121125.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 233 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use App\Entity\Attributes\StableMigration;
use Doctrine\DBAL\Schema\Schema;
#[StableMigration('0.17.6')]
final class Version20221110212745 extends AbstractMigration
{
public function getDescription(): string
{
return 'Migrate from... | /content/code_sandbox/backend/src/Entity/Migration/Version20221110212745.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 166 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20220706235608 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add "is_visible" denormalization to song_history table.';
}
public function... | /content/code_sandbox/backend/src/Entity/Migration/Version20220706235608.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 183 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20190324040155 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE... | /content/code_sandbox/backend/src/Entity/Migration/Version20190324040155.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 239 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20201208185538 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add Dropbox support to Storage Locations.';
}
public function up(Schema $sc... | /content/code_sandbox/backend/src/Entity/Migration/Version20201208185538.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 201 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200127071620 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add new "station_s... | /content/code_sandbox/backend/src/Entity/Migration/Version20200127071620.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 323 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20201010170333 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add genre field as a first-class meta field for Station Media.';
}
public f... | /content/code_sandbox/backend/src/Entity/Migration/Version20201010170333.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 133 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
final class Version20211124165404 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add "timestamp_played" to queue items.';
}
public function up(Schema $schem... | /content/code_sandbox/backend/src/Entity/Migration/Version20211124165404.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 172 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210226053617 extends AbstractMigration
{
public function getDescription(): string
{
return 'Create the user lo... | /content/code_sandbox/backend/src/Entity/Migration/Version20210226053617.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 268 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20210416214621 extends AbstractMigration
{
public function getDescription(): string
{
return 'Move playlist queu... | /content/code_sandbox/backend/src/Entity/Migration/Version20210416214621.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 238 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200927004829 extends AbstractMigration
{
public function getDescription(): string
{
return 'Drop Message Queue... | /content/code_sandbox/backend/src/Entity/Migration/Version20200927004829.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 327 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200503005148 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add per-station de... | /content/code_sandbox/backend/src/Entity/Migration/Version20200503005148.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 139 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20200321174535 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add "skip_delay" f... | /content/code_sandbox/backend/src/Entity/Migration/Version20200321174535.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 141 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Add source_port, source_mount to station_remotes table
*/
final class Version20180909174026 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE... | /content/code_sandbox/backend/src/Entity/Migration/Version20180909174026.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 131 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use App\Entity\Migration\Traits\UpdateAllRecords;
use Doctrine\DBAL\Schema\Schema;
/**
* Add per-station-configurable number of history items to be shown in the NowPlaying API.
*/
final class Version20180818223558 extends AbstractMigration
{
... | /content/code_sandbox/backend/src/Entity/Migration/Version20180818223558.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 176 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20180203214656 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE... | /content/code_sandbox/backend/src/Entity/Migration/Version20180203214656.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 119 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Migration\Traits;
use Doctrine\DBAL\ArrayParameterType;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Exception;
use Doctrine\DBAL\ParameterType;
/**
* @phpstan-type Param ParameterType|ArrayParameterType|string
*/
trait UpdateAllRecords
{
/** @var ... | /content/code_sandbox/backend/src/Entity/Migration/Traits/UpdateAllRecords.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 446 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Traits;
trait TruncateStrings
{
protected function truncateNullableString(?string $string = null, int $length = 255): ?string
{
if ($string === null) {
return null;
}
return $this->truncateString($string, $length)... | /content/code_sandbox/backend/src/Entity/Traits/TruncateStrings.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 116 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Traits;
use App\Entity\Attributes\AuditIgnore;
use App\Entity\Interfaces\EntityGroupsInterface;
use App\Security\SplitToken;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Annotation\Groups;
trait HasSplitTokenFields
{
#[ORM\Column(le... | /content/code_sandbox/backend/src/Entity/Traits/HasSplitTokenFields.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 241 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Traits;
use App\Entity\Interfaces\EntityGroupsInterface;
use App\Entity\Interfaces\SongInterface;
use App\Entity\Song;
use Doctrine\ORM\Mapping as ORM;
use OpenApi\Attributes as OA;
use Symfony\Component\Serializer\Annotation\Groups;
#[OA\Schema(type: 'obje... | /content/code_sandbox/backend/src/Entity/Traits/HasSongFields.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 810 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Traits;
use App\Entity\Interfaces\EntityGroupsInterface;
use Doctrine\ORM\Mapping as ORM;
use OpenApi\Attributes as OA;
use RuntimeException;
use Symfony\Component\Serializer\Annotation\Groups;
#[OA\Schema(type: 'object')]
trait HasAutoIncrementId
{
#[
... | /content/code_sandbox/backend/src/Entity/Traits/HasAutoIncrementId.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 183 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Traits;
trait TruncateInts
{
protected function truncateSmallInt(int $int, bool $unsigned = false): int
{
return $this->truncateIntToLimit(32767, 65535, $unsigned, $int);
}
protected function truncateNullableSmallInt(?int $int = null... | /content/code_sandbox/backend/src/Entity/Traits/TruncateInts.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 436 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Traits;
use App\Doctrine\Generator\UuidV6Generator;
use App\Entity\Interfaces\EntityGroupsInterface;
use Doctrine\ORM\Mapping as ORM;
use OpenApi\Attributes as OA;
use RuntimeException;
use Symfony\Component\Serializer\Annotation\Groups;
#[OA\Schema(type: '... | /content/code_sandbox/backend/src/Entity/Traits/HasUniqueId.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 217 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use ArrayAccess;
use JsonSerializable;
use LogicException;
/**
* A utility class ensuring that JSON will correctly represent
* associative arrays (hashmaps) in responses as objects,
* even when empty.
*
* @implements ArrayAccess<array-key, mixed>
... | /content/code_sandbox/backend/src/Entity/Api/HashMap.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 267 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_PodcastMedia',
type: 'object'
)]
final class PodcastMedia
{
#[OA\Property]
public ?string $id = null;
#[OA\Property]
public ?string $original_name = null;
#[OA\Proper... | /content/code_sandbox/backend/src/Entity/Api/PodcastMedia.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 129 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
final class MediaBatchResult extends BatchResult
{
/** @var string[] */
public array $files = [];
/** @var string[] */
public array $directories = [];
public ?array $responseRecord = null;
/**
* @return mixed[]
*/
... | /content/code_sandbox/backend/src/Entity/Api/MediaBatchResult.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 129 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Utilities\Types;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_ListenerDevice',
type: 'object'
)]
final class ListenerDevice
{
#[OA\Property(
description: 'If the listener device is likely a browser.',
exam... | /content/code_sandbox/backend/src/Entity/Api/ListenerDevice.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 409 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\OpenApi;
use App\Utilities\Types;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_Listener',
type: 'object'
)]
final class Listener
{
#[OA\Property(
description: 'The listener\'s IP address',
example: '127.0.... | /content/code_sandbox/backend/src/Entity/Api/Listener.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 721 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\OpenApi;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_StationSchedule',
type: 'object'
)]
final class StationSchedule
{
public const string TYPE_PLAYLIST = 'playlist';
public const string TYPE_STREAMER = 'streamer';
... | /content/code_sandbox/backend/src/Entity/Api/StationSchedule.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 491 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_FileListDir',
type: 'object'
)]
final class FileListDir
{
#[OA\Property(type: "array", items: new OA\Items())]
public array $playlists = [];
}
``` | /content/code_sandbox/backend/src/Entity/Api/FileListDir.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 77 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use JsonSerializable;
abstract class BatchResult implements JsonSerializable
{
public array $errors = [];
/**
* @return mixed[]
*/
public function jsonSerialize(): array
{
return [
'success' => empty($this... | /content/code_sandbox/backend/src/Entity/Api/BatchResult.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 84 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use Carbon\CarbonImmutable;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_Time',
type: 'object'
)]
final class Time
{
#[OA\Property(
description: 'The current UNIX timestamp',
example: 1497652397
)]
public ... | /content/code_sandbox/backend/src/Entity/Api/Time.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 285 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use OpenApi\Attributes as OA;
#[OA\Schema(schema: 'Api_Status', type: 'object')]
class Status
{
#[OA\Property(example: true)]
public bool $success;
#[OA\Property(example: 'Changes saved successfully.')]
public string $message;
#[O... | /content/code_sandbox/backend/src/Entity/Api/Status.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 261 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_NewRecord',
type: 'object'
)]
final class NewRecord extends Status
{
#[OA\Property(
items: new OA\Items(type: 'string', example: 'path_to_url
)]
public array $links = [... | /content/code_sandbox/backend/src/Entity/Api/NewRecord.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 85 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Entity\Api\NowPlaying\StationQueue;
use App\Entity\Api\Traits\HasLinks;
use App\Traits\LoadFromParentObject;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_StationQueueDetailed',
type: 'object'
)]
final class StationQueueDetail... | /content/code_sandbox/backend/src/Entity/Api/StationQueueDetailed.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 248 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use OpenApi\Attributes as OA;
use Psr\Http\Message\UriInterface;
#[OA\Schema(
schema: 'Api_StationOnDemand',
type: 'object'
)]
final class StationOnDemand implements ResolvableUrlInterface
{
#[OA\Property(
description: 'Track ID uni... | /content/code_sandbox/backend/src/Entity/Api/StationOnDemand.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 216 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Utilities\File;
use OpenApi\Attributes as OA;
use Symfony\Component\Validator\Constraints as Assert;
#[OA\Schema(
schema: 'Api_UploadFile',
type: 'object'
)]
final class UploadFile
{
#[
OA\Property(
description: ... | /content/code_sandbox/backend/src/Entity/Api/UploadFile.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 249 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
final class Notification
{
public string $title;
public string $body;
public string $type;
public ?string $actionLabel;
public ?string $actionUrl;
}
``` | /content/code_sandbox/backend/src/Entity/Api/Notification.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 55 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Utilities\Types;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_ListenerLocation',
type: 'object'
)]
final class ListenerLocation
{
#[OA\Property(
description: 'The approximate city of the listener.',
exampl... | /content/code_sandbox/backend/src/Entity/Api/ListenerLocation.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 394 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_PodcastCategory',
type: 'object'
)]
final class PodcastCategory
{
#[OA\Property]
public string $category;
#[OA\Property]
public string $text;
#[OA\Property]
publi... | /content/code_sandbox/backend/src/Entity/Api/PodcastCategory.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 101 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Entity\Api\Traits\HasLinks;
use App\Entity\Enums\FileTypes;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_FileList',
type: 'object'
)]
final class FileList
{
use HasLinks;
#[OA\Property]
public string $path;
... | /content/code_sandbox/backend/src/Entity/Api/FileList.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 189 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\OpenApi;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_SystemStatus',
type: 'object'
)]
final class SystemStatus
{
#[OA\Property(
description: 'Whether the service is online or not (should always be true)',
... | /content/code_sandbox/backend/src/Entity/Api/SystemStatus.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 143 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
final class StationPlaylistImportResult extends Status
{
public array $import_results = [];
public function __construct(
bool $success = true,
string $message = 'Changes saved successfully.',
?string $formattedMessage = ... | /content/code_sandbox/backend/src/Entity/Api/StationPlaylistImportResult.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 103 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Entity\Api\Traits\HasLinks;
use App\Entity\Api\Traits\HasSongFields;
use App\Entity\StationPlaylist;
use App\OpenApi;
use App\Traits\LoadFromParentObject;
use App\Utilities\Types;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_Stat... | /content/code_sandbox/backend/src/Entity/Api/StationMedia.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,132 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_StationServiceStatus',
type: 'object'
)]
final class StationServiceStatus
{
#[OA\Property(example: true)]
public bool $backend_running;
#[OA\Property(example: true)]
publi... | /content/code_sandbox/backend/src/Entity/Api/StationServiceStatus.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 205 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Entity\Api\NowPlaying\NowPlaying;
use App\Entity\Api\Traits\HasLinks;
use App\Traits\LoadFromParentObject;
final class Dashboard extends NowPlaying
{
use LoadFromParentObject;
use HasLinks;
}
``` | /content/code_sandbox/backend/src/Entity/Api/Dashboard.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 64 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Entity\Api\Traits\HasLinks;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_PodcastEpisode',
type: 'object'
)]
final class PodcastEpisode
{
use HasLinks;
#[OA\Property]
public string $id;
#[OA\Property]
pub... | /content/code_sandbox/backend/src/Entity/Api/PodcastEpisode.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 327 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Exception;
use OpenApi\Attributes as OA;
use ReflectionClass;
use Throwable;
#[OA\Schema(
schema: 'Api_Error',
type: 'object'
)]
final class Error
{
#[OA\Property(
description: 'The numeric code of the error.',
examp... | /content/code_sandbox/backend/src/Entity/Api/Error.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 770 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use Psr\Http\Message\UriInterface;
interface ResolvableUrlInterface
{
/**
* Re-resolve any Uri instances to reflect base URL changes.
*
* @param UriInterface $base
*/
public function resolveUrls(UriInterface $base): void;
}
... | /content/code_sandbox/backend/src/Entity/Api/ResolvableUrlInterface.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 72 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
final class GenericBatchResult extends BatchResult
{
/**
* @var array<array{
* id: int,
* title: string
* }>
*/
public array $records = [];
/**
* @return mixed[]
*/
public function jsonSerialize():... | /content/code_sandbox/backend/src/Entity/Api/GenericBatchResult.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 106 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Entity\Api\NowPlaying\SongHistory;
use App\Traits\LoadFromParentObject;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_DetailedSongHistory',
type: 'object'
)]
final class DetailedSongHistory extends SongHistory
{
use LoadFr... | /content/code_sandbox/backend/src/Entity/Api/DetailedSongHistory.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 233 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Entity\Api\Traits\HasLinks;
use App\Entity\PodcastBrandingConfiguration;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_Podcast',
type: 'object'
)]
final class Podcast
{
use HasLinks;
#[OA\Property]
public string $... | /content/code_sandbox/backend/src/Entity/Api/Podcast.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 424 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Entity\Api\Traits\HasLinks;
use App\Traits\LoadFromParentObject;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_StationRemote',
type: 'object'
)]
final class StationRemote
{
use LoadFromParentObject;
use HasLinks;
... | /content/code_sandbox/backend/src/Entity/Api/StationRemote.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 500 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
final class PodcastBatchResult extends BatchResult
{
/**
* @var array<array{
* id: string,
* title: string
* }>
*/
public array $episodes = [];
public ?array $records = null;
/**
* @return mixed[]
... | /content/code_sandbox/backend/src/Entity/Api/PodcastBatchResult.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 128 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_StationPlaylistQueue',
type: 'object'
)]
final class StationPlaylistQueue
{
#[OA\Property(
description: 'ID of the StationPlaylistMedia record associating this track with the p... | /content/code_sandbox/backend/src/Entity/Api/StationPlaylistQueue.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 250 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use OpenApi\Attributes as OA;
use Psr\Http\Message\UriInterface;
#[OA\Schema(
schema: 'Api_StationRequest',
type: 'object'
)]
final class StationRequest implements ResolvableUrlInterface
{
#[OA\Property(
description: 'Requestable ID... | /content/code_sandbox/backend/src/Entity/Api/StationRequest.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 200 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Entity\Api\Traits\HasSongFields;
use App\Http\Router;
use OpenApi\Attributes as OA;
use Psr\Http\Message\UriInterface;
#[OA\Schema(
schema: 'Api_Song',
type: 'object'
)]
class Song implements ResolvableUrlInterface
{
use HasSongFiel... | /content/code_sandbox/backend/src/Entity/Api/Song.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 283 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api;
use App\Entity\Api\NowPlaying\Station;
use Psr\Http\Message\UriInterface;
final class StationProfile
{
public Station $station;
public StationServiceStatus $services;
/** @var StationSchedule[] */
public array $schedule = [];
/**... | /content/code_sandbox/backend/src/Entity/Api/StationProfile.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 119 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api\Traits;
use OpenApi\Attributes as OA;
#[OA\Schema(type: 'object')]
trait HasLinks
{
#[OA\Property(
type: 'object',
additionalProperties: new OA\AdditionalProperties(type: 'string')
)]
public array $links = [];
}
``` | /content/code_sandbox/backend/src/Entity/Api/Traits/HasLinks.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 73 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api\Traits;
use OpenApi\Attributes as OA;
#[OA\Schema(schema: 'Api_HasSongFields', type: 'object')]
trait HasSongFields
{
#[OA\Property(
description: 'The song title, usually "Artist - Title"',
example: 'Chet Porter - Aluko River'
)]... | /content/code_sandbox/backend/src/Entity/Api/Traits/HasSongFields.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 290 |
```php
<?php
declare(strict_types=1);
namespace App\Entity\Api\Admin;
use App\Entity\Api\Traits\HasLinks;
use App\Traits\LoadFromParentObject;
use OpenApi\Attributes as OA;
#[OA\Schema(
schema: 'Api_Admin_StorageLocation',
type: 'object'
)]
final class StorageLocation
{
use HasLinks;
use LoadFromPar... | /content/code_sandbox/backend/src/Entity/Api/Admin/StorageLocation.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,040 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.