Welcome Guest, Not a member yet? Register   Sign In
Use my class
#3

(This post was last modified: 07-13-2023, 05:21 AM by brabus.)

app/Core.php


PHP Code:
<?php

namespace App\Controllers;

use 
App\ThirdParty\EmailValidation\EmailValidation;

class 
Core extends BaseController
{
    public function init()
    {
        $em = new EmailValidation();
        $res $em->check('[email protected]');
        dd($res);
    }



app/ThirdParty/EmailValidation/EmailValidation.php


PHP Code:
<?php

namespace App\ThirdParty\EmailValidation;

/**
* Class to check up e-mail
*
* @author Konstantin Granin <[email protected]>
* @copyright Copyright (c) 2010, Konstantin Granin
*/
class EmailValidation
{
    /**
    * User name
    * @var string
    */
    private $_fromName;

    /**
    * Domain name
    * @var string
    */
    private $_fromDomain


class body from github...
Reply


Messages In This Thread
Use my class - by csanesz - 07-10-2023, 06:51 AM
RE: Use my class - by kenjis - 07-10-2023, 03:50 PM
RE: Use my class - by brabus - 07-13-2023, 05:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB