Skip to content

Instantly share code, notes, and snippets.

View evolic's full-sized avatar
🏠
Working from home on Symfony 5 project

Tomasz Kuter evolic

🏠
Working from home on Symfony 5 project
View GitHub Profile
@evolic
evolic / person.php
Created October 8, 2016 20:02
Detrmining if person is Polish man or woman based on his/her name
<?php
namespace Persons;
class Person
{
CONST MAN = 'man';
CONST WOMAN = 'woman';
/**
* @var string