コード例 #1
0
 /**
  * @param Binding     $binding
  * @param string      $location
  * @param null|string $responseLocation
  */
 public function __construct(Binding $binding, $location, $responseLocation = null)
 {
     Assertion::nonEmptyString($location, 'location');
     Assertion::nullOrNonEmptyString($responseLocation, 'responseLocation');
     $this->binding = $binding;
     $this->location = $location;
     $this->responseLocation = $responseLocation;
 }