Closed velosipedist closed 9 years ago
Problem raise with Yii ActiveRecord and other __get()-powered class collections, where property_exists() will fail.
__get()
property_exists()
Also i have idea to use getter-method as a key (or any method without required params) to pluck like
class Foo{ function someField(){ /* returns something */ } } Arrays::from(/* list of Foo instances */)->pluck('someField');
Can you rebase against the latest master, the tests folder has been cleaned up slightly, I see a lot of changes related to that.
ok, but later in 1-2 days
Problem raise with Yii ActiveRecord and other
__get()
-powered class collections, whereproperty_exists()
will fail.Also i have idea to use getter-method as a key (or any method without required params) to pluck like