<?php

namespace Controllers;

use Models\Post;

class Posts
{
    public static function create_post($post, $user_id)
    {
        return Post::create(['post'=>$post, 'user_id'=>$user_id]);
    }
}