Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https://gist.github.com/*/*', 'https://github.com/*']);
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https?://*.wikipedia.org/wiki/*']);
 }
Beispiel #3
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https?://*.ebay.*']);
 }
Beispiel #4
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https://maps.google.*', 'https://www.google.*/maps*', 'https://drive.google.com/file/*/view']);
 }
Beispiel #5
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https?://imageshack.com/i/*']);
 }
Beispiel #6
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid([200, 429]) && $request->match(['https?://*.youtube.*']);
 }
Beispiel #7
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https?://soundcloud.com/*', 'https?://m.soundcloud.com/*']);
 }
Beispiel #8
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && isset(self::$contentTypes[$request->getMimeType()]);
 }
Beispiel #9
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['http?://www.spreaker.com/*']);
 }
Beispiel #10
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https?://www.howcast.com/videos/*']);
 }
Beispiel #11
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https?://500px.com/photo/*']);
 }
Beispiel #12
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['http://sassmeister.com/gist/*']);
 }
Beispiel #13
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https://line.do/*']);
 }
Beispiel #14
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https://www.flickr.com/photos/*']);
 }
Beispiel #15
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['http://pastebin.com/*']);
 }
Beispiel #16
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https://www.facebook.com/*']);
 }
Beispiel #17
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid();
 }
Beispiel #18
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['*://www.parleys.com/play/*']);
 }
Beispiel #19
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['http://video.mit.edu/watch/*']);
 }
Beispiel #20
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['http://www.lavozdegalicia.es/*']);
 }
Beispiel #21
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https?://slides.com/*']);
 }
Beispiel #22
0
 /**
  * {@inheritdoc}
  */
 public static function check(Request $request)
 {
     return $request->isValid() && $request->match(['https?://archive.org/details/*']);
 }