Пример #1
0
 /**
  * @param Content $content
  *
  * @return \Symfony\Component\HttpFoundation\Response
  */
 public function getEmbedCode($content)
 {
     $embedCode = $content->getEmbed();
     return Response::json(['status' => 'ok', 'code' => $embedCode]);
 }