Skip to content

Commit

Permalink
Mark some classes as @internal
Browse files Browse the repository at this point in the history
  • Loading branch information
giggsey committed Sep 2, 2024
1 parent 62250ef commit 5a4c4d3
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 5a4c4d3

Please sign in to comment.