Skip to content

Instantly share code, notes, and snippets.

/**
* @ORM\Table(name="users")
* @ORM\Entity(repositoryClass="UserRepository")
*/
class User
{
/**
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
* @ORM\Column(type="integer")
<?php
namespace App\Common;
class Transliterator
{
public static function transliterate( $strOrig, $separator = '-' ): string
{
$str = $strOrig;
base_url: file:///g:/tmp/mebel/stolplit/www.stolplit.ru
start_url: /index.htm
root:
root_category:
entity: category
container: ["#menuHead", 0, 0]
selector: ["td", 0, -1]
item_uri: ["a", href, 0]
fields:
name: ["a", text]