<?php
/**
* Aero PHP Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.aeroframework.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@aeroframework.com so we can send you a copy immediately.
*
* @category Aero
* @package Aero\Validator
* @subpackage Email
* @copyright Copyright (c) 2009-2010 Xistins Technologies (http://www.xistins.com)
* @license http://www.aeroframework.com/license/new-bsd New BSD License
*/
namespace Aero\Validator;
/**
* Email Validator
*
* @category Aero
* @package Aero\Validator
* @subpackage Email
* @copyright Copyright (c) 2009-2010 Xistins Technologies (http://www.xistins.com)
* @license http://www.aeroframework.com/license/new-bsd New BSD License
*/
class Email implements Structure
{
/**
* Is valid email
* Please note this is extremely simply but should work for most instances
*
* @param string $value Value to validate
* @return bool
*/
public function isValid($value)
{
return false;
}
return false;
}
return (filter_var($value, FILTER_VALIDATE_EMAIL) === $value);
}
}