Skip to content

Commit

Permalink
Rename package to OAIPMH2
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-meyer committed Jul 13, 2024
1 parent ed679b4 commit 3e967f0
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* Main application of the OAI-PMH 2.0 Data Provider.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
class App
{
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* Reads, validates and provides configuration settings.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*
* @property-read string $repositoryName
* @property-read string $adminEmail
Expand Down
2 changes: 1 addition & 1 deletion src/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* Base class for all OAI-PMH console commands.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
abstract class Console extends Command
{
Expand Down
2 changes: 1 addition & 1 deletion src/Console/AddRecordCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* Add or update a record in the database.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[AsCommand(
name: 'oai:records:add',
Expand Down
2 changes: 1 addition & 1 deletion src/Console/AddSetCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* Add or update a set in the database.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[AsCommand(
name: 'oai:sets:add',
Expand Down
2 changes: 1 addition & 1 deletion src/Console/CsvImportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* Import records into database from a CSV file.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[AsCommand(
name: 'oai:records:import:csv',
Expand Down
2 changes: 1 addition & 1 deletion src/Console/DeleteRecordCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* Delete a record from database.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[AsCommand(
name: 'oai:records:delete',
Expand Down
2 changes: 1 addition & 1 deletion src/Console/PruneDeletedRecordsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* Prune deleted records from database.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[AsCommand(
name: 'oai:records:prune',
Expand Down
2 changes: 1 addition & 1 deletion src/Console/PruneResumptionTokensCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* Prune expired resumption tokens from database.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[AsCommand(
name: 'oai:tokens:prune',
Expand Down
2 changes: 1 addition & 1 deletion src/Console/UpdateFormatsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
* Synchronize metadata formats in database with configuration.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[AsCommand(
name: 'oai:formats:update',
Expand Down
2 changes: 1 addition & 1 deletion src/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* Handles all database shenanigans.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*
* @template Formats of array<string, Format>
* @template Records of array<string, Record>
Expand Down
2 changes: 1 addition & 1 deletion src/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* An OAI-PMH XML response object.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
class Document
{
Expand Down
2 changes: 1 addition & 1 deletion src/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* Base class for all Doctrine/ORM entities.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
abstract class Entity
{
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Format.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* Doctrine/ORM Entity for formats.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[ORM\Entity]
#[ORM\Table(name: 'formats')]
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* Doctrine/ORM Entity for records.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[ORM\Entity]
#[ORM\Table(name: 'records')]
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Set.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Doctrine/ORM Entity for sets.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[ORM\Entity]
#[ORM\Table(name: 'sets')]
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Doctrine/ORM Entity for resumption tokens.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
#[ORM\Entity]
#[ORM\Table(name: 'tokens')]
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* Base class for all OAI-PMH requests.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
abstract class Middleware extends AbstractMiddleware
{
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* Validate and dispatch a OAI-PMH server request.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
class Dispatcher extends AbstractMiddleware
{
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* Handles OAI-PMH errors.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
class ErrorHandler extends AbstractMiddleware
{
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware/GetRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* @see https://www.openarchives.org/OAI/openarchivesprotocol.html#GetRecord
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
class GetRecord extends Middleware
{
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware/Identify.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @see https://www.openarchives.org/OAI/openarchivesprotocol.html#Identify
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
class Identify extends Middleware
{
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware/ListIdentifiers.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @see https://www.openarchives.org/OAI/openarchivesprotocol.html#ListIdentifiers
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
class ListIdentifiers extends Middleware
{
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware/ListMetadataFormats.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* @see https://www.openarchives.org/OAI/openarchivesprotocol.html#ListMetadataFormats
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
class ListMetadataFormats extends Middleware
{
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware/ListRecords.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @see https://www.openarchives.org/OAI/openarchivesprotocol.html#ListRecords
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*/
class ListRecords extends ListIdentifiers
{
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware/ListSets.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @see https://openarchives.org/OAI/openarchivesprotocol.html#ListSets
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*
* @template Sets of array<string, Set>
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* A database result set with optional resumption token.
*
* @author Sebastian Meyer <[email protected]>
* @package opencultureconsulting/oai-pmh2
* @package OAIPMH2
*
* @template QueryResult of array<string, Format|Record|Set>
* @implements Iterator<QueryResult>
Expand Down

0 comments on commit 3e967f0

Please sign in to comment.