public function get_technical_infos($data = '')
    {
        if (null === $this->technical_data) {
            $sets = $this->app['service.technical_data']->fetchRecordsTechnicalData([$this]);

            $this->setTechnicalDataSet(reset($sets));
        }

        if ($data) {
            if (isset($this->technical_data[$data])) {
                return $this->technical_data[$data];
            } else {
                return false;
            }
        }

        return $this->technical_data;
    }
public function get_technical_infos($data = '')
    {
        if (null === $this->technical_data) {
            $sets = $this->app['service.technical_data']->fetchRecordsTechnicalData([$this]);

            $this->setTechnicalDataSet(reset($sets));
        }

        if ($data) {
            if (isset($this->technical_data[$data])) {
                return $this->technical_data[$data];
            } else {
                return false;
            }
        }

        return $this->technical_data;
    }
public function get_technical_infos ( $ data = '' ) { if ( null === $ this -> technical_data ) { $ sets = $ this -> app [ 'service.technical_data' ] -> fetchRecordsTechnicalData ( [ $ this ] ) ; $ this -> setTechnicalDataSet ( reset ( $ sets ) ) ; } if ( $ data ) { if ( isset ( $ this -> technical_data [ $ data ] ) ) { return $ this -> technical_data [ $ data ] ; } else { return false ; } } return $ this -> technical_data ; }
Return a Technical data set or a specific technical data or false when not found

@param  string $data
@return TechnicalDataSet|TechnicalData|false
Return a Technical data set or a specific technical data or false when not found