Omnipay\Common\CreditCard::getStartMonth PHP Method

getStartMonth() public method

Get the card start month.
public getStartMonth ( ) : string
return string
    public function getStartMonth()
    {
        return $this->getParameter('startMonth');
    }

Usage Example

Beispiel #1
0
 public function testStartMonthLeadingZeros()
 {
     $this->card->setStartMonth('09');
     $this->assertSame(9, $this->card->getStartMonth());
 }
CreditCard