public function outputLong()
    {
        return implode("\n", array_filter([
            implode(', ', array_filter([
                $this->place,
                $this->number,
                $this->detail,
                ($this->detail == '' ? $this->neighborhood : ''),
            ])),
            implode(', ', array_filter([
                ($this->detail != '' ? $this->neighborhood : ''),
                implode(' - CEP: ', array_filter([
                    $this->county->name . '/' . $this->county->state->code,
                    Validation::cep($this->zipcode),
                ])),
            ])),
        ]));
    }
public function outputLong()
    {
        return implode("\n", array_filter([
            implode(', ', array_filter([
                $this->place,
                $this->number,
                $this->detail,
                ($this->detail == '' ? $this->neighborhood : ''),
            ])),
            implode(', ', array_filter([
                ($this->detail != '' ? $this->neighborhood : ''),
                implode(' - CEP: ', array_filter([
                    $this->county->name . '/' . $this->county->state->code,
                    Validation::cep($this->zipcode),
                ])),
            ])),
        ]));
    }
public function outputLong ( ) { return implode ( "\n" , array_filter ( [ implode ( ', ' , array_filter ( [ $ this -> place , $ this -> number , $ this -> detail , ( $ this -> detail == '' ? $ this -> neighborhood : '' ) , ] ) ) , implode ( ', ' , array_filter ( [ ( $ this -> detail != '' ? $ this -> neighborhood : '' ) , implode ( ' - CEP: ' , array_filter ( [ $ this -> county -> name . '/' . $ this -> county -> state -> code , Validation :: cep ( $ this -> zipcode ) , ] ) ) , ] ) ) , ] ) ) ; }
Outputs Model's data in a long format

@return string
Outputs Model s data in a long format