public function searchFillerAction(Request $request)
    {
        /* @var $chain ChainFiller */
        $chain = $this->get('anime_db.plugin.filler');
        $response = $this->getResponseFromChain($chain);

        // response was not modified for this request
        if ($response->isNotModified($request)) {
            return $response;
        }

        $entity = new SearchFiller($chain);
        /* @var $form Form */
        $form = $this->createForm(new SearchFillerForm(), $entity)->handleRequest($request);
        if ($form->isValid()) {
            return $this->redirect($entity->getFiller()->getLinkForFill($entity->getUrl()));
        }

        return $this->render('AnimeDbCatalogBundle:Fill:search_filler.html.twig', [
            'form' => $form->createView(),
        ], $response);
    }
public function searchFillerAction(Request $request)
    {
        /* @var $chain ChainFiller */
        $chain = $this->get('anime_db.plugin.filler');
        $response = $this->getResponseFromChain($chain);

        // response was not modified for this request
        if ($response->isNotModified($request)) {
            return $response;
        }

        $entity = new SearchFiller($chain);
        /* @var $form Form */
        $form = $this->createForm(new SearchFillerForm(), $entity)->handleRequest($request);
        if ($form->isValid()) {
            return $this->redirect($entity->getFiller()->getLinkForFill($entity->getUrl()));
        }

        return $this->render('AnimeDbCatalogBundle:Fill:search_filler.html.twig', [
            'form' => $form->createView(),
        ], $response);
    }
public function searchFillerAction ( Request $ request ) { /* @var $chain ChainFiller */ $ chain = $ this -> get ( 'anime_db.plugin.filler' ) ; $ response = $ this -> getResponseFromChain ( $ chain ) ; // response was not modified for this request if ( $ response -> isNotModified ( $ request ) ) { return $ response ; } $ entity = new SearchFiller ( $ chain ) ; /* @var $form Form */ $ form = $ this -> createForm ( new SearchFillerForm ( ) , $ entity ) -> handleRequest ( $ request ) ; if ( $ form -> isValid ( ) ) { return $ this -> redirect ( $ entity -> getFiller ( ) -> getLinkForFill ( $ entity -> getUrl ( ) ) ) ; } return $ this -> render ( 'AnimeDbCatalogBundle:Fill:search_filler.html.twig' , [ 'form' => $ form -> createView ( ) , ] , $ response ) ; }
Search filler by URL for fill item.

@param Request $request

@return Response
Search filler by URL for fill item .