public function create(ModelInterface $model, $belongsTo)
    {
        $metabox = $this->container->make(MetaboxSingularity::class);

        $metabox
            ->setModel($model)
            ->setBelongsTo($belongsTo)
            ->boot();

        return $metabox;
    }
public function create(ModelInterface $model, $belongsTo)
    {
        $metabox = $this->container->make(MetaboxSingularity::class);

        $metabox
            ->setModel($model)
            ->setBelongsTo($belongsTo)
            ->boot();

        return $metabox;
    }
public function create ( ModelInterface $ model , $ belongsTo ) { $ metabox = $ this -> container -> make ( MetaboxSingularity :: class ) ; $ metabox -> setModel ( $ model ) -> setBelongsTo ( $ belongsTo ) -> boot ( ) ; return $ metabox ; }
Create metabox.

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

@return \Assely\Metabox\MetaboxSingularity
Create metabox .