@symfony_php

Страница 225 из 1418
Ignacio
08.06.2017
07:41:33
How can i do that in the controller?

With a case?

Case image New image Case quote New quote Case text New text

Can i do that?

Google
Ignacio
08.06.2017
08:46:59
?

Damir
08.06.2017
08:57:17
Всем привет не могу сгенерить entityt с базы

php bin/console doctrine:mapping:import —force MyBundle yml

в ответ

Importing mapping information from "default" entity manager > writing C:\OpenServer\domains\qpt\src\UsersBundle/Resources/config/doctrine/"user".orm.yml [Symfony\Component\Debug\Exception\ContextErrorException] Warning: file_put_contents(C:\OpenServer\domains\qpt\src\UsersBundle/Resources/config/doctrine/"user".orm.yml): failed to open stream: No such file or directory

(;¬_¬)
08.06.2017
08:59:31
а почему у тебя user в кавычках?

Damir
08.06.2017
09:00:36
Я незнаю мне так ошибка выдается

и его никуда не ввожу

а БД есть таблицы user и employer_user

(;¬_¬)
08.06.2017
09:04:51
возможно дело в yml?

не думал?

наверное там у тебя user в кавычках

Damir
08.06.2017
09:06:16
Нет поидее он мне должен сгенерить yml

Google
Damir
08.06.2017
09:06:21
файл

а директория рид онли стоит

(;¬_¬)
08.06.2017
09:07:33
ну вот это он где смотрит? Importing mapping information from "default" entity manager

имхо, где-то тут надо копать

Dmytro
08.06.2017
09:23:24
а если к примеру хмл попробовать?

но есть подозрение что виндов_ник поругались

\UsersBundle/Resources/c

Roman
08.06.2017
10:05:38
Лучше аннотациями

Ignacio
08.06.2017
11:59:15
In the same task they told me that the CRUD have to work with JSON

What does it means exactly?

Sergey
08.06.2017
14:16:41
who told you?

Craig R
08.06.2017
14:21:49
your boss?

Alexey
08.06.2017
14:25:35
Big Russian Boss

Ivan
08.06.2017
14:31:59
все решили показать свое знание английского?

Oleg
08.06.2017
14:32:17
In the same task they told me that the CRUD have to work with JSON
So basically you have applied for some sf-based job without any real knowledge and now you're making other people fix this for you? This isn't gonna work as your issue lies a bit deeper. Your best bet is to start with docs & SO and get a grip of basic mechanics first.

Sergey
08.06.2017
14:32:21
уже ж показывали, даже опрос был

Ivan
08.06.2017
14:32:31
о?

когда?

Oleg
08.06.2017
14:33:01
месяца два назад

Ivan
08.06.2017
14:33:26
и как прошло?

Google
Oleg
08.06.2017
14:33:58
intermediate во все поля, как-то так

ну и 3.5 с адванседом(по их словам)

Ivan
08.06.2017
14:35:04
клево. у меня даж B1 сертификат был

пока я его не забыл гдето ))

Sergey
08.06.2017
14:35:14
Ваш уровень знания английского языка. По градации тут инфа http://www.sixthsense.ru/levels/ Pre-Intermediate A2 – 19 ??????? 31% Intermediate B1 – 16 ?????? 26% Upper-Intermediate B2 – 12 ???? 20% Beginner A1 – 8 ??? 13% Proficiency C2 – 4 ? 7% Advanced C1 – 2 ? 3% ? 61 people voted so far.

вот он

Ivan
08.06.2017
14:50:17
а как доказать что у меня реально B1?

Sergey
08.06.2017
14:50:35
экзамен сдать)

Ivan
08.06.2017
14:50:57
кому ?)

ну я имею ввиду что этот тест от балды ))

Sergey
08.06.2017
14:51:18
TOEFL к примеру

Ivan
08.06.2017
14:51:22
я сейчас C2 влеплю, хотя у меня B1 )

Ivan
08.06.2017
14:51:34
а сертификаты программистам очень нужны?)

Sergey
08.06.2017
14:51:36
ну тут скорее "как себя оцениваете"

для миграцию в канаду например сертификат нужен)

сертификат думаю дает хороший плюсик при устройстве на работу, особенно тимлидом

Ivan
08.06.2017
14:52:43
а кто знает в Киеве хорошее место где можно английский подтянуть?

Sergey
08.06.2017
14:54:00
cambridge школа вроде хорошая

а лучше поехать в англию на месяца 2

и там в школе на интенсиве поучится и пожить

Google
Sergey
08.06.2017
14:54:34
с нуля не выучишь, но немного подтянешь)

Ivan
08.06.2017
14:54:43
22 летний пацан в школе )))

Sergey
08.06.2017
14:55:02
не поверишь, но 40летние так ездят и живут в принимающих семьях

у меня в группе были чуваки за 50 лет)

а кто знает в Киеве хорошее место где можно английский подтянуть?
а вообще в кинотеатре Жовтень регулярно фильмы крутят в оригинале)

Ignacio
08.06.2017
16:19:25
Fucking inheritance in Doctrine

I cant write data into the database

Admin
ERROR: S client not available

Oleg
08.06.2017
16:25:34
Fucking inheritance in Doctrine
Pretty sure you're doing it wrong

Ignacio
08.06.2017
16:26:02
Yes of coursw

Let me show it please

I have these two entities in two different .php files inside the Entity folder



This is the father

Parent sorry



And this is the child

But when I tried to do this...



The echo works great entering in the getImagen method

Google
Ignacio
08.06.2017
16:32:28
But in the database it script creates a new row with all fields = 0 except the Id

And i want to write HELLO in the imagen field of my table

Sergey
08.06.2017
16:44:22
debugging with echo... oh dear

please read documentation about table inheritance a bit closer. Aspecually look which entity should have which annotations

Ignacio
08.06.2017
16:48:05
I have read a lot of posts but the only thing that works wothout errors is this, but dont write in the DB

Please Ive started yesterday with symfony and I need this as soon as possible

Ignacio
08.06.2017
17:02:21
Its for a job opportunity

Dinar
08.06.2017
17:04:52
Makes no sense if you can't use it.

Sergey
08.06.2017
17:08:53
Its for a job opportunity
I think you lost that game

Ignacio
08.06.2017
17:09:52
Nooo i havent lost

The important is to learn some thing in one day

Alan
08.06.2017
17:29:48
блин зачем в русскоязычном чате задавать вопросы на английском)

Igor
08.06.2017
17:32:33
вопрос... можно ли как-то на сервис, который создает внешний бандл повесить тег?

Igor
08.06.2017
17:36:13
можно но зачем?
грубо говоря по тегу тянется необходимый сервис

прямо объявлять, что один сервис зависит от другого не хочется

ибо зависимость опциональна

т.е. зависимость на уровне интерфейса по факту

Страница 225 из 1418