1

Where can i see the stores SESSION values in Symfonry2 Framework. Where can i Find the Error Log File [Location]

Thanks.

3
  • try var_dump($log); to check if its empty or it is an array or object. What do you mean by the below Symfony Controller Action Code.? Read documentation here Commented Jul 18, 2016 at 13:27
  • Hi get('hoursTransferred'); what is the meaning of this in above Code.? Commented Jul 18, 2016 at 13:30
  • it will read value from session if the session value is set or not.. if it's set it will return value , else it will return empty value. Commented Jul 18, 2016 at 13:32

1 Answer 1

3

You can use the Symfony VarDumper Component:

dump($log);

Sign up to request clarification or add additional context in comments.

1 Comment

I guess you refer to Symfony VarDumper component, and the function then is dump($log)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.