Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想通过以下方式模拟我在 jQuery 中可以实现的目标 $('.someClass:not(.hidden)')
$('.someClass:not(.hidden)')
我试过下面的代码。
$crawler->filter('someClass:not(.hidden)')
但它似乎不起作用
你之前少了一个点someClass。
someClass
尝试:
$crawler->filter('.someClass:not(.hidden)')