public function boot($posttype)
    {
        $this->posttype = $posttype;

        $this->hook->action(
            'init',
            [$this->posttype, 'register']
        )->dispatch();
    }
public function boot($posttype)
    {
        $this->posttype = $posttype;

        $this->hook->action(
            'init',
            [$this->posttype, 'register']
        )->dispatch();
    }
public function boot ( $ posttype ) { $ this -> posttype = $ posttype ; $ this -> hook -> action ( 'init' , [ $ this -> posttype , 'register' ] ) -> dispatch ( ) ; }
Bootstrap posttype manager.

@param \Assely\Posttype\Posttype $posttype

@return void
Bootstrap posttype manager .