MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / posts

Method posts

examples/laravel/app/Models/BlogAuthor.php:31–31  ·  view source on GitHub ↗

@return HasMany */

()

Source from the content-addressed store, hash-verified

29
30 /** @return HasMany<BlogPost, $this> */
31 public function posts(): mixed { return $this->hasMany(BlogPost::class); }
32
33 /** @return HasOne<AuthorProfile, $this> */
34 public function profile(): mixed { return $this->hasOne(AuthorProfile::class); }

Callers 1

eloquentClosureMethod · 0.80

Calls 1

hasManyMethod · 0.80

Tested by

no test coverage detected