src/Document/Controller/ClassifiedController.php
public function injectLinkHeader(MvcEvent $e)
    {
    	$response = $e->getResponse();
    	$headers  = $response->getHeaders();
//     	$headers->addHeaderLine('Link', sprintf(
// 			'<%s>; rel="describedby"',
// 			$this->url()->fromRoute('static-classified-service')
//     	));
    	$headers->addHeaderLine('Access-Control-Allow-Origin', '*');
    	$headers->addHeaderLine('Access-Control-Allow-Methods', 'POST PUT DELETE GET');
    	 
    }
public function injectLinkHeader(MvcEvent $e)
    {
    	$response = $e->getResponse();
    	$headers  = $response->getHeaders();
//     	$headers->addHeaderLine('Link', sprintf(
// 			'<%s>; rel="describedby"',
// 			$this->url()->fromRoute('static-classified-service')
//     	));
    	$headers->addHeaderLine('Access-Control-Allow-Origin', '*');
    	$headers->addHeaderLine('Access-Control-Allow-Methods', 'POST PUT DELETE GET');
    	 
    }
public function injectLinkHeader ( MvcEvent $ e ) { $ response = $ e -> getResponse ( ) ; $ headers = $ response -> getHeaders ( ) ; //     	$headers->addHeaderLine('Link', sprintf( // 			'<%s>; rel="describedby"', // 			$this->url()->fromRoute('static-classified-service') //     	)); $ headers -> addHeaderLine ( 'Access-Control-Allow-Origin' , '*' ) ; $ headers -> addHeaderLine ( 'Access-Control-Allow-Methods' , 'POST PUT DELETE GET' ) ; }
Inject documentation link header to the response

@param Zend\Mvc\MvcEvent $e
@return void
Inject documentation link header to the response