Skip to content

Commit

Permalink
Merge pull request #649 from giggsey/issue-648
Browse files Browse the repository at this point in the history
Mark some classes as @internal
  • Loading branch information
giggsey authored Sep 2, 2024
2 parents 62250ef + 5a4c4d3 commit 1f36dcd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/DefaultMetadataLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace libphonenumber;

/**
* @internal
*/
class DefaultMetadataLoader implements MetadataLoaderInterface
{
public function loadMetadata($metadataFileName)
Expand Down
3 changes: 3 additions & 0 deletions src/MetadataLoaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace libphonenumber;

/**
* @internal
*/
interface MetadataLoaderInterface
{
/**
Expand Down
2 changes: 1 addition & 1 deletion src/PhoneNumberToTimeZonesMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class PhoneNumberToTimeZonesMapper
protected function __construct($phonePrefixDataDirectory)
{
$this->prefixTimeZonesMap = static::loadPrefixTimeZonesMapFromFile(
\dirname(__FILE__) . $phonePrefixDataDirectory . DIRECTORY_SEPARATOR . static::MAPPING_DATA_FILE_NAME
__DIR__ . $phonePrefixDataDirectory . DIRECTORY_SEPARATOR . static::MAPPING_DATA_FILE_NAME
);
$this->phoneUtil = PhoneNumberUtil::getInstance();

Expand Down
1 change: 1 addition & 0 deletions src/prefixmapper/PrefixFileReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* A helper class doing file handling and lookup of phone number prefix mappings.
*
* @package libphonenumber\prefixmapper
* @internal
*/
class PrefixFileReader
{
Expand Down

0 comments on commit 1f36dcd

Please sign in to comment.