Closed marc-mabe closed 10 years ago
class HttpMethodEnum extends \MabeEnum\Enum { const GET = 'GET'; // ... } class WebDavMethodEnum extends HttpMethodEnum { /* ... */ } $get1 = HttpMethodEnum::get('GET'); $get2 = WebDavMethodEnum::get('GET'); var_dump($get1 === $get2); // false var_dump($get1->is($get2)); // true var_dump($get2->is($get1)); // false <- this should be true !!!
Needs to be reverted - see #47