public function getKeyedByPropertyMulti($property)
    {
        $keyed = [];
        foreach ($this as $model) {
            if (empty($keyed[$model->$property])) {
                $keyed[$model->$property] = [];
            }
            $keyed[$model->$property][] = $model;
        }
        return $keyed;
    }
public function getKeyedByPropertyMulti($property)
    {
        $keyed = [];
        foreach ($this as $model) {
            if (empty($keyed[$model->$property])) {
                $keyed[$model->$property] = [];
            }
            $keyed[$model->$property][] = $model;
        }
        return $keyed;
    }
public function getKeyedByPropertyMulti ( $ property ) { $ keyed = [ ] ; foreach ( $ this as $ model ) { if ( empty ( $ keyed [ $ model -> $ property ] ) ) { $ keyed [ $ model -> $ property ] = [ ] ; } $ keyed [ $ model -> $ property ] [ ] = $ model ; } return $ keyed ; }
key the iterator by the specified property
but go 2 levels
@param  string $property
@return array
key the iterator by the specified property but go 2 levels