for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Scrapes assets from "<image>" tags.
*
* @package Tx_Asdis
* @subpackage Content_Scraper_Html
* @author Timo Fuchs <[email protected]>
*/
class Tx_Asdis_Content_Scraper_Html_DataSrc extends Tx_Asdis_Content_Scraper_Html_AbstractHtmlScraper implements Tx_Asdis_Content_Scraper_ScraperInterface {
* @param $content
* @return Tx_Asdis_Domain_Model_Asset_Collection
public function scrape($content) {
return $this->getAssets('[A-z]?', 'data-src', $content);
}