This question already has an answer here:
- PHP function call in class property 3 answers
use config;
class abc extends xyz{
protected $adminMail = config('deployment.adminemail');
public function xyz(){
......
}
}
It gives me syntax error for line protected "$adminMail = config('deployment.adminemail'); of (;)"
I know this question is not very logical but please guide where I am getting confused.
</div>