PHP 클래스 Contao\CoreBundle\Test\Contao\ValidatorTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: contao/core-bundle

공개 메소드들

메소드 설명
emailProvider ( ) : array Provides the data for the testEmail() method.
testEmail ( string $email, boolean $expected ) Tests the isEmail() method.
testExtractEmail ( ) Tests the StringUtil::extactEmail() method.

메소드 상세

emailProvider() 공개 메소드

Provides the data for the testEmail() method.
public emailProvider ( ) : array
리턴 array

testEmail() 공개 메소드

Tests the isEmail() method.
public testEmail ( string $email, boolean $expected )
$email string
$expected boolean

testExtractEmail() 공개 메소드

Tests the StringUtil::extactEmail() method.
public testExtractEmail ( )