PHP code example of agenciaecode / types

1. Go to this page and download the library: Download agenciaecode/types library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

agenciaecode / types example snippets


$email = Email::from('[email protected]');
echo $email->getHiddenFormat(); // Output: e***l@d********m

 - public static function from(...$args)
 - public static function tryFrom(...$args)
 - public static function innFrom(...$args)
 - public static function isValid(...$args)
 - public function equals($value)
 - public function getValue(...$args)
 - public function __toString(...$args)