for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* Copyright (c) 2015 Nate Brunette.
* Distributed under the MIT License (http://opensource.org/licenses/MIT)
*/
namespace Tebru\Retrofit\Annotation;
use Tebru\Dynamo\Annotation\DynamoAnnotation;
/**
* Indicates that the body of the request should be application/x-www-form-urlencoded
*
* @author Nate Brunette <[email protected]>
* @Annotation
* @Target({"CLASS", "METHOD"})
class FormUrlEncoded implements DynamoAnnotation
{
const NAME = 'form_urlencoded';
* The name of the annotation or class of annotations
* @return string
public function getName()
return self::NAME;
}
* Whether or not multiple annotations of this type can
* be added to a method
* @return bool
public function allowMultiple()
return false;