public function create(ModelInterface $model)
    {
        $posttype = $this->container->make(PosttypeSingularity::class);

        $posttype
            ->setModel($model)
            ->boot();

        return $posttype;
    }
public function create(ModelInterface $model)
    {
        $posttype = $this->container->make(PosttypeSingularity::class);

        $posttype
            ->setModel($model)
            ->boot();

        return $posttype;
    }
public function create ( ModelInterface $ model ) { $ posttype = $ this -> container -> make ( PosttypeSingularity :: class ) ; $ posttype -> setModel ( $ model ) -> boot ( ) ; return $ posttype ; }
Create posttype.

@param  \Assely\Contracts\Singularity\Model\ModelInterface $model

@return \Assely\Posttype\PosttypeSingularity
Create posttype .