Skip to content

Instantly share code, notes, and snippets.

View igorRovenki's full-sized avatar

Igor Onachenko igorRovenki

View GitHub Profile
Ant-Task which runs behat:
<?xml version="1.0" encoding="UTF-8"?>
<project name="Foo" default="build" basedir=".">
....
<target name="behat">
<exec dir="${basedir}/" executable="php" failonerror="true">

API

Коды ошибок

Коды ошибок соответствуют стандарту RFC 7231 если не описаны иначе.

status_code: 200 – OK 400 – Bad request 404 – Not Found

@igorRovenki
igorRovenki / Project.php
Created February 4, 2022 12:48 — forked from ornj/Project.php
ManyToMany / ManyToOne implemented with SonataAdminBundle and SonataMediaBundle.
<?php
namespace Acme\Bundle\ProjectBundle\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Acme\Bundle\ProjectBundle\Entity\ProjectHasMedia;
/**
* Project