PHP Interface Nelmio\SecurityBundle\ExternalRedirect\TargetValidator

Show file Open project: nelmio/NelmioSecurityBundle

Public Methods

Method Description
isTargetAllowed ( string $targetUrl ) : boolean Returns whether a target is acceptable.

Method Details

isTargetAllowed() public method

Returns whether a target is acceptable.
public isTargetAllowed ( string $targetUrl ) : boolean
$targetUrl string
return boolean