public function getCors(): CorsInterface
    {
        if (static::$cors instanceof CorsInterface) {
            return static::$cors;
        }

        return $this->setCors($this->createCors())->getCors();
    }
public function getCors(): CorsInterface
    {
        if (static::$cors instanceof CorsInterface) {
            return static::$cors;
        }

        return $this->setCors($this->createCors())->getCors();
    }
public function getCors ( ) : CorsInterface { if ( static :: $ cors instanceof CorsInterface ) { return static :: $ cors ; } return $ this -> setCors ( $ this -> createCors ( ) ) -> getCors ( ) ; }
Get the cors instance.

@return \Medz\Cors\CorsInterface
Get the cors instance .