private function setSearchable(PropertyInterface $property, $propInfo)
    {
        if (!isset($propInfo['search'])) {
            return;
        }
        $property->setSearchable((bool) $propInfo['search']);
    }
private function setSearchable(PropertyInterface $property, $propInfo)
    {
        if (!isset($propInfo['search'])) {
            return;
        }
        $property->setSearchable((bool) $propInfo['search']);
    }
private function setSearchable ( PropertyInterface $ property , $ propInfo ) { if ( ! isset ( $ propInfo [ 'search' ] ) ) { return ; } $ property -> setSearchable ( ( bool ) $ propInfo [ 'search' ] ) ; }
Set the searchable flag in the property.

@param PropertyInterface $property The property definition.
@param array             $propInfo The property info array.

@return void
Set the searchable flag in the property .