TypeError
형식화된 속성은 다음 방법 중 하나로 초기화해야 합니다:
__get()
자세한 내용은 Uninitialized and Unset Properties (php.net) (을)를 참고하세요.