created() public method

Respond with a created response and associate a location if provided.
public created ( null | string $location = null, $content = null ) : Response
$location null | string
return Dingo\Api\Http\Response
Example #1
0
 /**
  * Respond with a created response and associate a location if provided.
  *
  * @param null|string $location
  * @return \Dingo\Api\Http\Response 
  * @static 
  */
 public static function created($location = null)
 {
     return \Dingo\Api\Http\Response\Factory::created($location);
 }