Skip to content

[Request] Extend Eloquent plurality to hasMany() #89

Closed
@jackmcdade

Description

@jackmcdade

Obviously not a game-breaker, but Eloquent's smart plurality does not extend to hasMany(), which just feels awkward gramatically. Example:

<?php

class Group extends Eloquent {

    public function subscribers()
    {
        return $this->hasMany('Subscriber');
    }

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions