TypeError
型付きプロパティは、以下のいずれかの方法で初期化する必要があります。
__get()
詳しくは、Uninitialized and Unset Properties (php.net) を参照してください。