public static findByPostId ( integer $postId ) : |
||
$postId | integer | |
return |
public static function findByPostId($postId)
{
$instance = new static();
return $instance->where('comment_post_ID', $postId)->get();
}