|
...
|
...
|
@@ -265,9 +265,9 @@ class Demo extends Command |
|
|
|
// print_r($include);
|
|
|
|
// }
|
|
|
|
public function handle(){
|
|
|
|
$html = '<div><a>23423424</a><a href="#" class="logo img-box"><img src="https://cdn.globalso.com/fiberglass-expert/logo.png" alt="logoz9j"></a></div>';
|
|
|
|
$html = '<div><a>23423424</a><a href="#" class="logo img-box"><img src="https://cdn.globalso.com/fiberglass-expert/logo.png" alt="logoz9j"></a><img src = "123123"></div>';
|
|
|
|
$dom = str_get_html($html);
|
|
|
|
$texts = $dom->find('a',0);
|
|
|
|
$texts = $dom->find('img',0);
|
|
|
|
// $texts = $dom->find('a', 0);
|
|
|
|
dd($texts);
|
|
|
|
// $projectModel = new Project();
|
...
|
...
|
|