for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Whitelist\Definition;
use IpUtils\Address\IPv4;
/**
* Represents an IPv4 address definition
*
* @author Sam Stenvall <[email protected]>
* @copyright Copyright © Sam Stenvall 2014-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
*/
class IPv4Address extends IPAddress
{
public function validate()
return IPv4::isValid($this->_definition);
}