public function register()
    {
        return add_meta_box(
            $this->model->getSlug(),
            $this->model->getSingular(),
            [$this, 'fill'],
            $this->belongsTo,
            $this->model->getArgument('location'),
            $this->model->getArgument('priority')
        );
    }
public function register()
    {
        return add_meta_box(
            $this->model->getSlug(),
            $this->model->getSingular(),
            [$this, 'fill'],
            $this->belongsTo,
            $this->model->getArgument('location'),
            $this->model->getArgument('priority')
        );
    }
public function register ( ) { return add_meta_box ( $ this -> model -> getSlug ( ) , $ this -> model -> getSingular ( ) , [ $ this , 'fill' ] , $ this -> belongsTo , $ this -> model -> getArgument ( 'location' ) , $ this -> model -> getArgument ( 'priority' ) ) ; }
Register metabox.

@return void
Register metabox .