php-enum icon indicating copy to clipboard operation
php-enum copied to clipboard

Update README

Open garoevans opened this issue 11 years ago • 1 comments

Update the readme to follow a better format: http://docs.writethedocs.org/en/latest/writing/beginners-guide-to-docs/#id1

garoevans avatar Nov 06 '14 08:11 garoevans

Trying to get your example code to work, using the scope resolution operator didn't work when trying to set the variable return type to the set string. ($aFruit->is(Fruit::APPLE))

The equals operator used in the in the SplEnum documentation worked. (Fruit::APPLE == $aFruit)

Thanks!

JayOwl avatar Jul 09 '18 18:07 JayOwl