public function TicketForm()
    {
        if ($this->owner->Tickets()->count() && $this->owner->getTicketsAvailable()) {
            $ticketForm = new TicketForm($this->owner, 'TicketForm', $this->owner->Tickets(), $this->owner->dataRecord);
            $ticketForm->setNextStep(CheckoutSteps::start());
            return $ticketForm;
        } else {
            return null;
        }
    }
public function TicketForm()
    {
        if ($this->owner->Tickets()->count() && $this->owner->getTicketsAvailable()) {
            $ticketForm = new TicketForm($this->owner, 'TicketForm', $this->owner->Tickets(), $this->owner->dataRecord);
            $ticketForm->setNextStep(CheckoutSteps::start());
            return $ticketForm;
        } else {
            return null;
        }
    }
public function TicketForm ( ) { if ( $ this -> owner -> Tickets ( ) -> count ( ) && $ this -> owner -> getTicketsAvailable ( ) ) { $ ticketForm = new TicketForm ( $ this -> owner , 'TicketForm' , $ this -> owner -> Tickets ( ) , $ this -> owner -> dataRecord ) ; $ ticketForm -> setNextStep ( CheckoutSteps :: start ( ) ) ; return $ ticketForm ; } else { return null ; } }
Get the ticket form with available tickets

@return TicketForm
Get the ticket form with available tickets